Esempio n. 1
0
 /// <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));
 }
Esempio n. 2
0
 /// <summary>
 /// Creates an empty tween with no duration and no effect.
 /// </summary>
 static public Tween CreateEmpty()
 {
     return(TweenPool.Alloc().SetData(NULL_DATA).Duration(0));
 }
Esempio n. 3
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));
 }