Пример #1
0
 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);
 }
Пример #2
0
 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);
 }
Пример #3
0
 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);
 }
Пример #4
0
 internal static void Begin(YieldInstruction yieldInstruction, Action method)
 {
     if (Yield.yield == null)
     {
         Yield.yield = new GameObject("yield").AddComponent <Yield>();
     }
     Yield.yield.Invoke(yieldInstruction, method);
 }
Пример #5
0
 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));
 }
Пример #6
0
 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));
 }
Пример #7
0
 internal void Invoke <T>(YieldInstruction yieldInstruction, System.Action <T> method, T var)
 {
     base.StartCoroutine(Yield.Coroutine <T>(yieldInstruction, method, var));
 }
Пример #8
0
 internal void Invoke(YieldInstruction yieldInstruction, Action method)
 {
     base.StartCoroutine(Yield.Coroutine(yieldInstruction, method));
 }
Пример #9
0
 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));
 }
Пример #10
0
 internal void Invoke <T>(System.Action <T> method, T var)
 {
     base.StartCoroutine(Yield.Coroutine <T>(method, var));
 }
Пример #11
0
 internal void Invoke(Action method)
 {
     base.StartCoroutine(Yield.Coroutine(method));
 }