public static IActionChain Until(this IActionChain selfChain, Func <bool> condition) { return(selfChain.Append(UntilAction.Allocate(condition))); }
/// <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))); }
public static IActionChain Event(this IActionChain selfChain, params System.Action[] onEvents) { return(selfChain.Append(EventAction.Allocate(onEvents))); }
public static IActionChain OnlyBegin(this IActionChain selfChain, Action <OnlyBeginAction> onBegin) { return(selfChain.Append(OnlyBeginAction.Allocate(onBegin))); }
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))); }
public static IActionChain NextFrame(this IActionChain selfChain) { return(selfChain.Append(DelayFrameAction.Allocate(1))); }
public static IActionChain DelayFrame(this IActionChain selfChain, int frameCount) { return(selfChain.Append(DelayFrameAction.Allocate(frameCount))); }