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)));
 }
Exemplo n.º 3
0
 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)));
 }
Exemplo n.º 5
0
 public static IExecuteNodeChain Delay(this IExecuteNodeChain senfChain, float seconds, Action action)
 {
     return(senfChain.Append(DelayNode.Allocate(seconds, action)));
 }