正确使用StopCoroutine

三种开启协程的方式,对应三种关闭协程的方式。web using UnityEngine; using System.Collections; public class Test : MonoBehaviour { //声明一个协程 public IEnumerator Count(int i) { while (true) {
相关文章
相关标签/搜索