public static void InvokeWhen(this MonoBehaviour script, Action func, Func <bool> condition) { InvocationFlow <MonoBehaviour> .InvokeWhen(script, func, condition); }
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); }