Class Ease
- Namespace
- UILib.Animations
- Assembly
- UILib.dll
A simple ease behaviour which eases between two values, sending onEase events on each iteration.
public class Ease : BaseEase
- Inheritance
-
ObjectComponentBehaviourMonoBehaviourEase
- Inherited Members
-
MonoBehaviour.IsInvoking()MonoBehaviour.CancelInvoke()MonoBehaviour.StopCoroutine(Coroutine)MonoBehaviour.StopAllCoroutines()MonoBehaviour.Internal_CancelInvokeAll(MonoBehaviour)MonoBehaviour.Internal_IsInvokingAll(MonoBehaviour)MonoBehaviour.IsObjectMonoBehaviour(Object)MonoBehaviour.StopCoroutineManaged(Coroutine)MonoBehaviour.GetScriptClassName()MonoBehaviour.useGUILayoutBehaviour.enabledBehaviour.isActiveAndEnabledComponent.GetComponent<T>()Component.TryGetComponent<T>(out T)Component.GetComponentInChildren<T>()Component.GetComponentsInChildren<T>()Component.GetComponentInParent<T>()Component.GetComponentsInParent<T>()Component.GetComponents<T>()Component.transformComponent.gameObjectComponent.tagObject.m_CachedPtrObject.OffsetOfInstanceIDInCPlusPlusObjectObject.objectIsNullMessageObject.cloneDestroyedMessageObject.GetInstanceID()Object.GetHashCode()Object.CompareBaseObjects(Object, Object)Object.EnsureRunningOnMainThread()Object.IsNativeObjectAlive(Object)Object.GetCachedPtr()Object.Instantiate(Object, Vector3, Quaternion)Object.Instantiate(Object, Vector3, Quaternion, Transform)Object.Instantiate(Object)Object.Instantiate(Object, Transform)Object.Instantiate<T>(T)Object.Instantiate<T>(T, Vector3, Quaternion)Object.Instantiate<T>(T, Vector3, Quaternion, Transform)Object.Instantiate<T>(T, Transform)Object.Destroy(Object)Object.DestroyImmediate(Object)Object.DontDestroyOnLoad(Object)Object.DestroyObject(Object)Object.FindObjectsOfType<T>()Object.FindObjectOfType<T>()Object.ToString()Object.GetOffsetOfInstanceIDInCPlusPlusObject()Object.CurrentThreadIsMainThread()Object.Internal_CloneSingle(Object)Object.Internal_InstantiateSingle(Object, Vector3, Quaternion)Object.Internal_InstantiateSingleWithParent(Object, Transform, Vector3, Quaternion)Object.ToString(Object)Object.GetName(Object)Object.IsPersistent(Object)Object.Internal_InstantiateSingle_Injected(Object, ref Vector3, ref Quaternion)Object.Internal_InstantiateSingleWithParent_Injected(Object, Transform, ref Vector3, ref Quaternion)Object.nameObject.hideFlags
Properties
onEase
Invokes listeners on each iteration of easing.
public ValueEvent<float> onEase { get; }
Property Value
onEaseIn
Invokes listeners when easing in finishes.
public UnityEvent onEaseIn { get; }
Property Value
- UnityEvent
onEaseOut
Invokes listeners when easing out finishes.
public UnityEvent onEaseOut { get; }
Property Value
- UnityEvent
Methods
OnEaseIn()
Runs when easing in has finished.
protected override void OnEaseIn()
OnEaseOut()
Runs when easing out has finished.
protected override void OnEaseOut()
OnIter(float)
Runs on each iteration of easing.
protected override void OnIter(float time)
Parameters
timefloatThe current value of the internal timer
SetValue(float)
Sets the current value.
This will be clamped between minValue and maxValue.
This is called in OnIter(float) to update the current easing value.
public void SetValue(float value)
Parameters
valuefloatThe value to set
SetValues(float, float)
Sets the minimum and maximum values to ease between.
public void SetValues(float minValue, float maxValue)