Example #1
0
 /// <summary>
 /// Starts a Tween as a Routine.
 /// </summary>
 static public Routine Play(this Tween inTween)
 {
     return(Routine.Start(inTween));
 }
Example #2
0
 /// <summary>
 /// Starts a Tween as a Routine, hosted by the given host.
 /// </summary>
 static public Routine Play(this Tween inTween, UnityEngine.MonoBehaviour inHost)
 {
     return(Routine.Start(inHost, inTween));
 }
Example #3
0
 /// <summary>
 /// Returns the update routine associated with the object and update phase.
 /// </summary>
 static public Routine GetUpdateRoutine(this MonoBehaviour inHost, RoutinePhase inPhase = RoutinePhase.Update)
 {
     return(Routine.Find(inHost, GetPhaseUpdaterName(inPhase)));
 }