unity 最简单的倒计时
StopCoroutine(ComFun()); IEnumerator ComFun() { for (int i = 1; i < 10; i++) { print(i); yield return new WaitForSeconds(1); } }
posted on 2022-11-17 16:36 zqiang0803 阅读(114) 评论(0) 编辑 收藏 举报
StopCoroutine(ComFun()); IEnumerator ComFun() { for (int i = 1; i < 10; i++) { print(i); yield return new WaitForSeconds(1); } }
posted on 2022-11-17 16:36 zqiang0803 阅读(114) 评论(0) 编辑 收藏 举报