public static void InvokeWhen(this MonoBehaviour script, Action func, Func <bool> condition)
 {
     InvocationFlow <MonoBehaviour> .InvokeWhen(script, func, condition);
 }
Example #2
0
 public static void InvokeWhen(this Behaviour behaviour, Action func, Func <bool> condition)
 {
     InvocationFlow <Behaviour> .InvokeWhen(behaviour, func, condition);
 }
 public static void InvokeWhen(Action func, Func <bool> condition)
 {
     InvocationFlow <MonoBehaviour> .InvokeWhen(StaticController, func, condition);
 }