Question by
tonzot · Jan 12, 2016 at 05:44 PM ·
androidcoroutineandroid buildcoroutine errors
Couroutine problems on android (in build)
So, I have a little game and iam using some couroutines and qhen I built the game they are stsrting automatically(and the game is ruined) here is just a example code:
void OnTriggerEnter2D(Collider2D other) { If(other.name == "Player") { StartCouroutine("ExampleCouroutine"); }
IEnumerator ExampleCouroutine()
{ yield new return WaitForSeconds(5); //do sonething }
}
So are couroutines like this perfectly working for you guys if you install your apk in your android device ?
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612055944im_/https://answers.unity.com/themes/thub/images/avi.jpg)