예제 #1
0
 public RepeatAction SetAction(ActionBase action)
 {
     action._SetOwner(this);
     action_ = action;
     return(this);
 }
예제 #2
0
 public static ActionInstance Enqueue(this ActionBase action, ActionInstance recycleInstance = null)
 {
     return(GetSceneInstance().Enqueue(action, recycleInstance));
 }
예제 #3
0
 public static ActionInstance EnqueueAsForever(this ActionBase action, ActionInstance recycleInstance = null)
 {
     return(GetForeverInstance().Enqueue(action, recycleInstance));
 }
예제 #4
0
 public static TimeScaleAction TimeScale(ActionBase action)
 {
     return(Prepare <TimeScaleAction>().SetAction(action));
 }
예제 #5
0
 public static ActionInstance PlayFixed(this ActionBase action, ActionInstance recycleInstance = null)
 {
     return(action.Enqueue(recycleInstance).Play(UpdateType.FIXED));
 }
예제 #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);
 }
예제 #8
0
 internal void _SetAction(ActionBase action)
 {
     action_ = action;
 }