mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-07 16:45:10 +00:00
TweenHelper
TweenHelper
This commit is contained in:
@@ -290,18 +290,6 @@ namespace TEngine
|
||||
public long UIFillAmount(UnityEngine.UI.Image target, Single startValue, Single endValue, float duration, Ease ease = Ease.Default, int cycles = 1,
|
||||
CycleMode cycleMode = CycleMode.Restart, float startDelay = 0, float endDelay = 0, bool useUnscaledTime = false);
|
||||
|
||||
public long RotationAdditive(UnityEngine.Transform target, UnityEngine.Vector3 deltaValue, float duration, Ease ease = Ease.Default, int cycles = 1,
|
||||
CycleMode cycleMode = CycleMode.Restart, float startDelay = 0, float endDelay = 0, bool useUnscaledTime = false);
|
||||
|
||||
public long LocalRotationAdditive(UnityEngine.Transform target, UnityEngine.Vector3 deltaValue, float duration, Ease ease = Ease.Default, int cycles = 1,
|
||||
CycleMode cycleMode = CycleMode.Restart, float startDelay = 0, float endDelay = 0, bool useUnscaledTime = false);
|
||||
|
||||
public long RotationAdditive(UnityEngine.Transform target, UnityEngine.Quaternion deltaValue, float duration, Ease ease = Ease.Default, int cycles = 1,
|
||||
CycleMode cycleMode = CycleMode.Restart, float startDelay = 0, float endDelay = 0, bool useUnscaledTime = false);
|
||||
|
||||
public long LocalRotationAdditive(UnityEngine.Transform target, UnityEngine.Quaternion deltaValue, float duration, Ease ease = Ease.Default,
|
||||
int cycles = 1, CycleMode cycleMode = CycleMode.Restart, float startDelay = 0, float endDelay = 0, bool useUnscaledTime = false);
|
||||
|
||||
public long MoveBezierPath(UnityEngine.Transform target, UnityEngine.Vector3[] path, float duration, Ease ease = Ease.Default, int cycles = 1,
|
||||
CycleMode cycleMode = CycleMode.Restart, float startDelay = 0, float endDelay = 0, bool useUnscaledTime = false);
|
||||
|
||||
@@ -309,10 +297,6 @@ namespace TEngine
|
||||
Ease ease = Ease.Default, int cycles = 1, CycleMode cycleMode = CycleMode.Restart, float startDelay = 0, float endDelay = 0, bool useUnscaledTime = false)
|
||||
where T : class;
|
||||
|
||||
public long Custom<T>(T target, uint startValue, uint endValue, float duration, Action<T, uint> onValueChange,
|
||||
Ease ease = Ease.Default, int cycles = 1, CycleMode cycleMode = CycleMode.Restart, float startDelay = 0, float endDelay = 0, bool useUnscaledTime = false)
|
||||
where T : class;
|
||||
|
||||
public long Custom<T>(T target, long startValue, long endValue, float duration, Action<T, long> onValueChange,
|
||||
Ease ease = Ease.Default, int cycles = 1, CycleMode cycleMode = CycleMode.Restart, float startDelay = 0, float endDelay = 0, bool useUnscaledTime = false)
|
||||
where T : class;
|
||||
|
@@ -779,48 +779,6 @@ namespace TEngine
|
||||
return _tweenHelper.UIFillAmount(target, startValue, endValue, duration, ease, cycles, cycleMode, startDelay, endDelay, useUnscaledTime);
|
||||
}
|
||||
|
||||
public static long RotationAdditive(UnityEngine.Transform target, UnityEngine.Vector3 deltaValue, float duration, Ease ease = Ease.Default, int cycles = 1,
|
||||
CycleMode cycleMode = CycleMode.Restart, float startDelay = 0, float endDelay = 0, bool useUnscaledTime = false)
|
||||
{
|
||||
if (_tweenHelper == null)
|
||||
{
|
||||
throw new GameFrameworkException("ITweenHelper is invalid.");
|
||||
}
|
||||
return _tweenHelper.RotationAdditive(target, deltaValue, duration, ease, cycles, cycleMode, startDelay, endDelay, useUnscaledTime);
|
||||
}
|
||||
|
||||
|
||||
public static long LocalRotationAdditive(UnityEngine.Transform target, UnityEngine.Vector3 deltaValue, float duration, Ease ease = Ease.Default, int cycles = 1,
|
||||
CycleMode cycleMode = CycleMode.Restart, float startDelay = 0, float endDelay = 0, bool useUnscaledTime = false)
|
||||
{
|
||||
if (_tweenHelper == null)
|
||||
{
|
||||
throw new GameFrameworkException("ITweenHelper is invalid.");
|
||||
}
|
||||
return _tweenHelper.LocalRotationAdditive(target, deltaValue, duration, ease, cycles, cycleMode, startDelay, endDelay, useUnscaledTime);
|
||||
}
|
||||
|
||||
|
||||
public static long RotationAdditive(UnityEngine.Transform target, UnityEngine.Quaternion deltaValue, float duration, Ease ease = Ease.Default, int cycles = 1,
|
||||
CycleMode cycleMode = CycleMode.Restart, float startDelay = 0, float endDelay = 0, bool useUnscaledTime = false)
|
||||
{
|
||||
if (_tweenHelper == null)
|
||||
{
|
||||
throw new GameFrameworkException("ITweenHelper is invalid.");
|
||||
}
|
||||
return _tweenHelper.RotationAdditive(target, deltaValue, duration, ease, cycles, cycleMode, startDelay, endDelay, useUnscaledTime);
|
||||
}
|
||||
|
||||
public static long LocalRotationAdditive(UnityEngine.Transform target, UnityEngine.Quaternion deltaValue, float duration, Ease ease = Ease.Default,
|
||||
int cycles = 1, CycleMode cycleMode = CycleMode.Restart, float startDelay = 0, float endDelay = 0, bool useUnscaledTime = false)
|
||||
{
|
||||
if (_tweenHelper == null)
|
||||
{
|
||||
throw new GameFrameworkException("ITweenHelper is invalid.");
|
||||
}
|
||||
return _tweenHelper.LocalRotationAdditive(target, deltaValue, duration, ease, cycles, cycleMode, startDelay, endDelay, useUnscaledTime);
|
||||
}
|
||||
|
||||
public static long MoveBezierPath(UnityEngine.Transform target, UnityEngine.Vector3[] path, float duration, Ease ease = Ease.Default, int cycles = 1,
|
||||
CycleMode cycleMode = CycleMode.Restart, float startDelay = 0, float endDelay = 0, bool useUnscaledTime = false)
|
||||
{
|
||||
@@ -842,17 +800,6 @@ namespace TEngine
|
||||
return _tweenHelper.Custom(target, startValue, endValue, duration, onValueChange, ease, cycles, cycleMode, startDelay, endDelay, useUnscaledTime);
|
||||
}
|
||||
|
||||
public static long Custom<T>(T target, uint startValue, uint endValue, float duration, Action<T, uint> onValueChange,
|
||||
Ease ease = Ease.Default, int cycles = 1, CycleMode cycleMode = CycleMode.Restart, float startDelay = 0, float endDelay = 0, bool useUnscaledTime = false)
|
||||
where T : class
|
||||
{
|
||||
if (_tweenHelper == null)
|
||||
{
|
||||
throw new GameFrameworkException("ITweenHelper is invalid.");
|
||||
}
|
||||
return _tweenHelper.Custom(target, startValue, endValue, duration, onValueChange, ease, cycles, cycleMode, startDelay, endDelay, useUnscaledTime);
|
||||
}
|
||||
|
||||
public static long Custom<T>(T target, long startValue, long endValue, float duration, Action<T, long> onValueChange,
|
||||
Ease ease = Ease.Default, int cycles = 1, CycleMode cycleMode = CycleMode.Restart, float startDelay = 0, float endDelay = 0, bool useUnscaledTime = false)
|
||||
where T : class
|
||||
|
Reference in New Issue
Block a user