This commit is contained in:
niko
2026-06-04 11:42:34 +02:00
parent f39ba70a9f
commit e720b98cd1
7488 changed files with 2493818 additions and 0 deletions
@@ -0,0 +1,127 @@
using System;
using UnityEngine.Events;
namespace UnityEngine.UI.CoroutineTween
{
// Token: 0x02000036 RID: 54
internal struct FloatTween : ITweenValue
{
// Token: 0x17000060 RID: 96
// (get) Token: 0x06000165 RID: 357 RVA: 0x0000680C File Offset: 0x00004C0C
// (set) Token: 0x06000166 RID: 358 RVA: 0x00006827 File Offset: 0x00004C27
public float startValue
{
get
{
return this.m_StartValue;
}
set
{
this.m_StartValue = value;
}
}
// Token: 0x17000061 RID: 97
// (get) Token: 0x06000167 RID: 359 RVA: 0x00006834 File Offset: 0x00004C34
// (set) Token: 0x06000168 RID: 360 RVA: 0x0000684F File Offset: 0x00004C4F
public float targetValue
{
get
{
return this.m_TargetValue;
}
set
{
this.m_TargetValue = value;
}
}
// Token: 0x17000062 RID: 98
// (get) Token: 0x06000169 RID: 361 RVA: 0x0000685C File Offset: 0x00004C5C
// (set) Token: 0x0600016A RID: 362 RVA: 0x00006877 File Offset: 0x00004C77
public float duration
{
get
{
return this.m_Duration;
}
set
{
this.m_Duration = value;
}
}
// Token: 0x17000063 RID: 99
// (get) Token: 0x0600016B RID: 363 RVA: 0x00006884 File Offset: 0x00004C84
// (set) Token: 0x0600016C RID: 364 RVA: 0x0000689F File Offset: 0x00004C9F
public bool ignoreTimeScale
{
get
{
return this.m_IgnoreTimeScale;
}
set
{
this.m_IgnoreTimeScale = value;
}
}
// Token: 0x0600016D RID: 365 RVA: 0x000068AC File Offset: 0x00004CAC
public void TweenValue(float floatPercentage)
{
if (this.ValidTarget())
{
float num = Mathf.Lerp(this.m_StartValue, this.m_TargetValue, floatPercentage);
this.m_Target.Invoke(num);
}
}
// Token: 0x0600016E RID: 366 RVA: 0x000068E9 File Offset: 0x00004CE9
public void AddOnChangedCallback(UnityAction<float> callback)
{
if (this.m_Target == null)
{
this.m_Target = new FloatTween.FloatTweenCallback();
}
this.m_Target.AddListener(callback);
}
// Token: 0x0600016F RID: 367 RVA: 0x00006910 File Offset: 0x00004D10
public bool GetIgnoreTimescale()
{
return this.m_IgnoreTimeScale;
}
// Token: 0x06000170 RID: 368 RVA: 0x0000692C File Offset: 0x00004D2C
public float GetDuration()
{
return this.m_Duration;
}
// Token: 0x06000171 RID: 369 RVA: 0x00006948 File Offset: 0x00004D48
public bool ValidTarget()
{
return this.m_Target != null;
}
// Token: 0x040000AF RID: 175
private FloatTween.FloatTweenCallback m_Target;
// Token: 0x040000B0 RID: 176
private float m_StartValue;
// Token: 0x040000B1 RID: 177
private float m_TargetValue;
// Token: 0x040000B2 RID: 178
private float m_Duration;
// Token: 0x040000B3 RID: 179
private bool m_IgnoreTimeScale;
// Token: 0x02000037 RID: 55
public class FloatTweenCallback : UnityEvent<float>
{
}
}
}