Unity While Loop In Coroutine Kotlin Vs Dart