public static void InvokeWhile(this MonoBehaviour script, Action func, Func <bool> condition)
 {
     InvocationFlow <MonoBehaviour> .InvokeWhile(script, func, condition);
 }
 public static void InvokeWhile(Action func, Func <bool> condition)
 {
     InvocationFlow <MonoBehaviour> .InvokeWhile(StaticController, func, condition);
 }