Quantcast
Channel: Answers for "Execute coroutine in Update()"
Viewing all articles
Browse latest Browse all 11

Answer by Eric5h5

$
0
0
You should not use Update for this, since Update always runs once every frame and cannot be delayed in any way. IEnumerator Start () { yield return new WaitForSeconds (Random.Range (8, 12)); // Do stuff }

Viewing all articles
Browse latest Browse all 11

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>