Obsolete - use
EaseOnCurve(AnimationCurve, Single, Single, Single)
instead!
Namespace: NarayanaGames.CommonAssembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax
Parameters
- curve
- Type: AnimationCurve
the curve to drive easing
- from
- Type:
System Single
the value to start from
- to
- Type:
System Single
the value to ease to
- time
- Type:
System Single
the time in the animation (if you use animation curves with time from 0 to 1, this works exactly as Mathf.Lerp)
Return Value
a value between from and to based on timeSee Also