unity, StartCoroutine and StopCoroutine

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

posted on 2016-01-24 15:48  wantnon  阅读(544)  评论(0编辑  收藏  举报

导航