首页 > 技术文章 > unity, StartCoroutine and StopCoroutine

wantnon 2016-01-24 15:48 原文

startCoroutine("func",1.0f)可以用stopCoroutine("func")来停。

startCoroutine(func(1.0f))不能用stopCoroutine("func")来停。

 

参考:

http://forum.unity3d.com/threads/stopcoroutine-not-working.32609/

http://answers.unity3d.com/questions/891122/how-to-stop-coroutine-with-parameters.html

推荐阅读