?voidStart()
??? {
???????Debug.Log("1");
??????? StartCoroutine(Do());
???????Debug.Log("4");
??? }
???IEnumeratorDo()
??? {
???????Debug.Log("2");
???????yieldreturnStartCoroutine(newDo());//WaitForSeconds(5);
???????Debug.Log("6");
??? }
???IEnumeratornewDo()
??? {
???????Debug.Log("3");
???????yieldreturnnewWaitForSeconds(2);
???????Debug.Log("5");
??? }
輸出結果 1义钉、2汽抚、3储笑、4册着、5