C# Class Prime31.GoKitLite.EaseHelper

helper with a single method that takes in an EaseType and applies that ease equation with the given duration and time parameters. We do this to avoid passing around Funcs which create bogs of trash for the garbage collector (function pointers please!)
Exibir arquivo Open project: prime31/GoKitLite Class Usage Examples

Public Methods

Method Description
ease ( EaseType easeType, float t, float duration ) : float

Method Details

ease() public static method

public static ease ( EaseType easeType, float t, float duration ) : float
easeType EaseType
t float
duration float
return float