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
| Parameter | Type | Description |
|---|---|---|
easeType | EaseType | |
time | float | |
duration | float | |
overshootOrAmplitude | float | |
period | float | |
customEase | CustomEase |
Source:Tween/EaseManager.cs (line 53)