gameobject not active或者component not enable的时候,InvokeRepeating和coroutine是否会停止
InvokeRepeating
gameobject.setActive(false) - InvokeRepeating 不停
component.enable = false - InvokeRepeating 不停
Coroutines
gameobject.setActive(false) - coroutine 停
component.enable = false - coroutine 不停
这些情况下,停了即使重新active或者enable也不会自动重启