Class EaseGroup
- Namespace
- UILib.Animations
- Assembly
- UILib.dll
A group which manages easing in/out many BaseEase behaviours.
It only finishes once all of the attached ease behaviours have reached an end point.
public class EaseGroup : BaseTimer
- Inheritance
-
ObjectComponentBehaviourMonoBehaviourEaseGroup
- 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
easingIn
Whether the group is currently easing in.
public bool easingIn { get; }
Property Value
easingOut
Whether the group is currently easing out.
public bool easingOut { 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
Add(BaseEase)
Adds an ease behaviour to be controlled by this group.
public void Add(BaseEase ease)
Parameters
easeBaseEaseThe ease behaviour to add
EaseIn(bool)
Eases in all added ease behaviours.
public void EaseIn(bool force = false)
Parameters
forceboolWhether to force easing in
EaseOut(bool)
Eases out all added ease behaviours.
public void EaseOut(bool force = false)
Parameters
forceboolWhether to force easing out
OnEnd()
Runs when this behaviour finishes easing in/out.
protected override void OnEnd()
OnIter(float)
Runs on each iteration of easing.
protected override void OnIter(float time)
Parameters
timefloatThe current value of the internal timer