Beispiel #1
0
 IEnumerator PrintAction(float arg1, float arg2)
 {
     yield return(YieldInstrucioner.GetWaitUntil(() =>
     {
         return arg1 > arg2;
     }));
 }
Beispiel #2
0
    IEnumerator PrintAction(DAction action)
    {
        yield return(YieldInstrucioner.GetWaitUntil(() => { return true; }));

        if (action != null)
        {
            action();
        }
    }
Beispiel #3
0
    IEnumerator Test011(Action <string> action, string str)
    {
        yield return(YieldInstrucioner.GetWaitForSeconds(2));

        if (action != null)
        {
            action(str);
        }
        // Main.coroutiner.Run(Test022);
    }
Beispiel #4
0
 IEnumerator Test022(string s)
 {
     yield return(YieldInstrucioner.GetWaitForSeconds(1));
     // Main.coroutiner.Stop(id);
     // Main.coroutiner.Return(id);
 }
Beispiel #5
0
 IEnumerator PrintAction(string arg1, string arg2)
 {
     yield return(YieldInstrucioner.GetWaitUntil(() => { return true; }));
 }
Beispiel #6
0
    IEnumerator Print(float count)
    {
        yield return(YieldInstrucioner.GetWaitForSeconds(3.0f));

        Debug.Log(count);
    }
Beispiel #7
0
    public IEnumerator cor01()
    {
        yield return(YieldInstrucioner.GetWaitForSeconds(1.0f));

        Debug.Log("cor01");
    }