定义协同程序:
IEnumerator test() { Debug.log("test 1"); yeild return WaitForSecond(3.0f); Debug.log("test 2"); }
开始协同程序:
void lalalalala() { StartCoroutine(test()); }