Quantcast
Channel: Answers for "Wait bunch of coroutines inside of coroutine"
Browsing all 5 articles
Browse latest View live

Answer by beck

If you are not using the Unity's special yields (WaitForSeconds, StartCoroutine) from the coroutines you're waiting for, you can use the IEnumerator object itself: IEnumerator routine1 =...

View Article



Answer by whydoidoit

You could pass a class parameter to the coroutine that contains a count of currently running routines or you could make a generic coroutine runner that does that if you prefer. #ParallelSupport.cs...

View Article

Answer by beck

If you are not using the Unity's special yields (WaitForSeconds, StartCoroutine) from the coroutines you're waiting for, you can use the IEnumerator object itself: IEnumerator routine1 =...

View Article

Answer by whydoidoit

You could pass a class parameter to the coroutine that contains a count of currently running routines or you could make a generic coroutine runner that does that if you prefer. #ParallelSupport.cs...

View Article

Answer by Ash-Blue

Actually you can do this with just a few simple lines. You need to return each coroutine in a loop and it will automatically complete when it has nothing left to do. Here is an example that will wait...

View Article

Browsing all 5 articles
Browse latest View live




Latest Images