Example #1
0
 public RepeatAction SetAction(ActionBase action)
 {
     action._SetOwner(this);
     action_ = action;
     return(this);
 }
Example #2
0
 public static ActionInstance Enqueue(this ActionBase action, ActionInstance recycleInstance = null)
 {
     return(GetSceneInstance().Enqueue(action, recycleInstance));
 }
Example #3
0
 public static ActionInstance EnqueueAsForever(this ActionBase action, ActionInstance recycleInstance = null)
 {
     return(GetForeverInstance().Enqueue(action, recycleInstance));
 }
Example #4
0
 public static TimeScaleAction TimeScale(ActionBase action)
 {
     return(Prepare <TimeScaleAction>().SetAction(action));
 }
Example #5
0
 public static ActionInstance PlayFixed(this ActionBase action, ActionInstance recycleInstance = null)
 {
     return(action.Enqueue(recycleInstance).Play(UpdateType.FIXED));
 }
Example #6
0
 public static ActionInstance PlayUnscaled(this ActionBase action, ActionInstance recycleInstance = null)
 {
     return(action.Enqueue(recycleInstance).Play(UpdateType.UNSCALED));
 }
 public TimeScaleAction SetAction(ActionBase action)
 {
     action_ = action;
     return(this);
 }
Example #8
0
 internal void _SetAction(ActionBase action)
 {
     action_ = action;
 }