Be the first to post for 'Running Coroutines In Series'!

If you’re reading this, there probably aren’t very many posts yet. But don’t worry, you can be the first! Either create a new post or just reply to this one to say ‘hi’.

anyone who can clearly explain what the difference is between “yield break” and “yield return new WaitForEndOfFrame()” … using yield break to escape the movetowardsenemy coroutine, my character would attack first thin (so before he got in attacking range). Using “yield return new WaitForEndOfFrame();” , he would first neatly make his way over to the enemy and then hit him.

Privacy & Terms