Ejemplo n.º 1
0
 public void Stop()
 {
     CoroutineHandler.StopStaticCoroutine(coroutine);
 }
Ejemplo n.º 2
0
 public void Start(bool isPlay = true)
 {
     coroutine = CoroutineHandler.StartStaticCoroutine(Behaviour());
     isPlaying = isPlay;
 }
Ejemplo n.º 3
0
 public static Coroutine AfterWait(this MonoBehaviour Obj, bool realTime = false,
                                   params CoroutineSequence[] sequences)
 {
     return(CoroutineHandler.AfterWait(Obj, realTime, sequences));
 }
Ejemplo n.º 4
0
 public static Coroutine AfterWait(this MonoBehaviour Obj, Action action, Func <bool> condition)
 {
     return(CoroutineHandler.AfterWait(Obj, action, condition));
 }
Ejemplo n.º 5
0
 public static Coroutine AfterWait(this MonoBehaviour Obj, Action action, float seconds, bool realTime = false)
 {
     return(CoroutineHandler.AfterWait(Obj, action, seconds, realTime));
 }