Skip to main content

EaseManager

Namespace:FairyGUI
Source:Assets/Scripts/Tween/EaseManager.cs (line 45)

public static class EaseManager

Methods​

Evaluate(EaseType, float, float, float, float, CustomEase)​

public static float Evaluate(EaseType easeType, float time, float duration, float overshootOrAmplitude = 1.70158f, float period = 0, CustomEase customEase = null);

Returns a value between 0 and 1 (inclusive) based on the elapsed time and ease selected

ParameterTypeDescription
easeTypeEaseType
timefloat
durationfloat
overshootOrAmplitudefloat
periodfloat
customEaseCustomEase

Source:Tween/EaseManager.cs (line 53)