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!)
Afficher le fichier Open project: prime31/GoKitLite Class Usage Examples

Méthodes publiques

Méthode Description
ease ( EaseType easeType, float t, float duration ) : float

Method Details

ease() public static méthode

public static ease ( EaseType easeType, float t, float duration ) : float
easeType EaseType
t float
duration float
Résultat float