public static IExecuteNodeChain Until(this IExecuteNodeChain selfChain, Func <bool> condition) { return(selfChain.Append(UntilNode.Allocate(condition))); }
public static IExecuteNodeChain Event(this IExecuteNodeChain selfChain, params Action[] onEvents) { return(selfChain.Append(EventNode.Allocate(onEvents))); }
public static IExecuteNodeChain Repeat(this IExecuteNodeChain selfChain, IExecuteNodeChain repeatChain) { return(selfChain.Append(repeatChain)); }
/// <summary> /// Same as Delayw /// </summary> /// <param name="senfChain"></param> /// <param name="seconds"></param> /// <returns></returns> public static IExecuteNodeChain Wait(this IExecuteNodeChain senfChain, float seconds) { return(senfChain.Append(DelayNode.Allocate(seconds))); }
public static IExecuteNodeChain Delay(this IExecuteNodeChain senfChain, float seconds, Action action) { return(senfChain.Append(DelayNode.Allocate(seconds, action))); }