/// <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)));
 }
Ejemplo n.º 2
0
 public static void Delay <T>(this T selfBehaviour, float seconds, Action delayEvent) where T : MonoBehaviour
 {
     selfBehaviour.ExecuteNode(DelayNode.Allocate(seconds, delayEvent));
 }