/// <summary> /// Creates a tween with the given tween parameters. /// </summary> static public Tween Create(ITweenData inTweenData, TweenSettings inSettings) { return(TweenPool.Alloc().SetData(inTweenData).Duration(inSettings.Time).Ease(inSettings.Curve)); }
/// <summary> /// Creates an empty tween with no duration and no effect. /// </summary> static public Tween CreateEmpty() { return(TweenPool.Alloc().SetData(NULL_DATA).Duration(0)); }
/// <summary> /// Creates a tween with the given tween parameters. /// </summary> static public Tween Create(ITweenData inTweenData, float inDuration) { return(TweenPool.Alloc().SetData(inTweenData).Duration(inDuration)); }