NGUtil EaseOnCurve Method (, , , Single)ScoreFlash API Documentation V4.6.0

Namespace: NarayanaGames.Common
Assembly: Assembly-CSharp-firstpass (in Assembly-CSharp-firstpass.dll) Version: 0.0.0.0
Syntax

[ObsoleteAttribute("Use NGEasing.EaseOnCurve instead!")]
public static Color EaseOnCurve(
	AnimationCurve curve,
	Color from,
	Color to,
	float time
)

Parameters

curve
Type: AnimationCurve
the curve to drive easing
from
Type: Color
the value to start from
to
Type: Color
the value to ease to
time
Type: OnlineSystem 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 time
See Also