Beispiel #1
0
    IEnumerator Test011(Action <string> action, string str)
    {
        yield return(YieldInstrucioner.GetWaitForSeconds(2));

        if (action != null)
        {
            action(str);
        }
        // Main.coroutiner.Run(Test022);
    }
Beispiel #2
0
 IEnumerator Test022(string s)
 {
     yield return(YieldInstrucioner.GetWaitForSeconds(1));
     // Main.coroutiner.Stop(id);
     // Main.coroutiner.Return(id);
 }
Beispiel #3
0
    IEnumerator Print(float count)
    {
        yield return(YieldInstrucioner.GetWaitForSeconds(3.0f));

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

        Debug.Log("cor01");
    }