Table of Contents

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
Object
Component
Behaviour
MonoBehaviour
Ease
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.useGUILayout
Behaviour.enabled
Behaviour.isActiveAndEnabled
Component.GetComponent<T>()
Component.TryGetComponent<T>(out T)
Component.GetComponentInChildren<T>()
Component.GetComponentsInChildren<T>()
Component.GetComponentInParent<T>()
Component.GetComponentsInParent<T>()
Component.GetComponents<T>()
Component.transform
Component.gameObject
Component.tag
Object.m_CachedPtr
Object.OffsetOfInstanceIDInCPlusPlusObject
Object.objectIsNullMessage
Object.cloneDestroyedMessage
Object.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.name
Object.hideFlags

Properties

onEase

Invokes listeners on each iteration of easing.

public ValueEvent<float> onEase { get; }

Property Value

ValueEvent<float>

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

time float

The 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

value float

The value to set

SetValues(float, float)

Sets the minimum and maximum values to ease between.

public void SetValues(float minValue, float maxValue)

Parameters

minValue float

The minimum value to use

maxValue float

The maximum value to use