Exemple #1
0
 public static IActionChain Until(this IActionChain selfChain, Func <bool> condition)
 {
     return(selfChain.Append(UntilAction.Allocate(condition)));
 }
Exemple #2
0
 /// <summary>
 /// Same as Delayw
 /// </summary>
 /// <param name="senfChain"></param>
 /// <param name="seconds"></param>
 /// <returns></returns>
 public static IActionChain Wait(this IActionChain senfChain, float seconds)
 {
     return(senfChain.Append(DelayAction.Allocate(seconds)));
 }
Exemple #3
0
 public static IActionChain Event(this IActionChain selfChain, params System.Action[] onEvents)
 {
     return(selfChain.Append(EventAction.Allocate(onEvents)));
 }
Exemple #4
0
 public static IActionChain OnlyBegin(this IActionChain selfChain, Action <OnlyBeginAction> onBegin)
 {
     return(selfChain.Append(OnlyBeginAction.Allocate(onBegin)));
 }
Exemple #5
0
 public static IActionChain UniRx <T>(this IActionChain selfChain, Func <IObservable <T> > tweenFactory)
 {
     return(selfChain.Append(UniRxAction <T> .Allocate(tweenFactory)));
 }
 public static IActionChain DOTween(this IActionChain selfChain, Func <Tweener> tweenFactory)
 {
     return(selfChain.Append(DOTweenAction.Allocate(tweenFactory)));
 }
Exemple #7
0
 public static IActionChain NextFrame(this IActionChain selfChain)
 {
     return(selfChain.Append(DelayFrameAction.Allocate(1)));
 }
Exemple #8
0
 public static IActionChain DelayFrame(this IActionChain selfChain, int frameCount)
 {
     return(selfChain.Append(DelayFrameAction.Allocate(frameCount)));
 }