persatuan membuat coroutine menunggu sampai coroutine lain selesai
void Start() {
StartCoroutine(Coroutine2());
}
IEnumerator Coroutine2() {
yield return Coroutine1();
//Coroutine1 is now finished and you can use its result
}
IEnumerator Coroutine1() {
//create your lists then call yield return
yield return null;
}
Nicolas Tetreault