In Gdscript for Godot there was code line that waits for 1 second and then continues the code.
yield(get_tree().create_timer(1),"timeout")
How can i achieve same usage in Kotlin in Android Studio?
In Gdscript for Godot there was code line that waits for 1 second and then continues the code.
yield(get_tree().create_timer(1),"timeout")
How can i achieve same usage in Kotlin in Android Studio?