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

你可能感兴趣的:(unity, StartCoroutine and StopCoroutine)