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