internal static void Begin <T>(YieldInstruction yieldInstruction, System.Action <T> method, T var) { if (Yield.yield == null) { Yield.yield = new GameObject("yield").AddComponent <Yield>(); } Yield.yield.Invoke <T>(yieldInstruction, method, var); }
internal static void Begin <T, T2, T3>(YieldInstruction yieldInstruction, Action <T, T2, T3> method, T var, T2 var2, T3 var3) { if (Yield.yield == null) { Yield.yield = new GameObject("yield").AddComponent <Yield>(); } Yield.yield.Invoke <T, T2, T3>(yieldInstruction, method, var, var2, var3); }
internal static void Begin <T, T2, T3, T4>(Action <T, T2, T3, T4> method, T var, T2 var2, T3 var3, T4 var4) { if (Yield.yield == null) { Yield.yield = new GameObject("yield").AddComponent <Yield>(); } Yield.yield.Invoke <T, T2, T3, T4>(method, var, var2, var3, var4); }
internal static void Begin(YieldInstruction yieldInstruction, Action method) { if (Yield.yield == null) { Yield.yield = new GameObject("yield").AddComponent <Yield>(); } Yield.yield.Invoke(yieldInstruction, method); }
internal void Invoke <T, T2>(YieldInstruction yieldInstruction, Action <T, T2> method, T var, T2 var2) { base.StartCoroutine(Yield.Coroutine <T, T2>(yieldInstruction, method, var, var2)); }
internal void Invoke <T, T2, T3, T4>(YieldInstruction yieldInstruction, Action <T, T2, T3, T4> method, T var, T2 var2, T3 var3, T4 var4) { base.StartCoroutine(Yield.Coroutine <T, T2, T3, T4>(yieldInstruction, method, var, var2, var3, var4)); }
internal void Invoke <T>(YieldInstruction yieldInstruction, System.Action <T> method, T var) { base.StartCoroutine(Yield.Coroutine <T>(yieldInstruction, method, var)); }
internal void Invoke(YieldInstruction yieldInstruction, Action method) { base.StartCoroutine(Yield.Coroutine(yieldInstruction, method)); }
internal void Invoke <T, T2, T3>(Action <T, T2, T3> method, T var, T2 var2, T3 var3) { base.StartCoroutine(Yield.Coroutine <T, T2, T3>(method, var, var2, var3)); }
internal void Invoke <T>(System.Action <T> method, T var) { base.StartCoroutine(Yield.Coroutine <T>(method, var)); }
internal void Invoke(Action method) { base.StartCoroutine(Yield.Coroutine(method)); }