public static Coroutine DoSpringFor(this MonoBehaviour m, float approximateDuration, float dampingRatio, Action <float> lerpCallback, Action finishedCallback = null) { return(m.StartCoroutine(EasingCoroutines.DoSpringForCoroutine(approximateDuration, dampingRatio, lerpCallback, finishedCallback))); }
private static Coroutine DoLerpFor(this MonoBehaviour m, float duration, Action <float> lerpCallback, Action finishedCallback = null) { return(m.StartCoroutine(EasingCoroutines.DoLerpCoroutine(duration, lerpCallback, finishedCallback))); }