Ejemplo n.º 1
0
        IEnumerator _BecomeTest0()
        {
            data = 1;
            yield return(null);

            yield return(Coroutine.Become(_BecomeTest1()));

            data = 2;
            yield return(null);
        }
Ejemplo n.º 2
0
        IEnumerator _BecomeTest1()
        {
            data = 3;
            yield return(null);

            data = 4;
            yield return(Coroutine.Become(_BecomeTest2()));

            data = 5;
            yield return(null);
        }