Running the dungeon generation in a Coroutine #118
-
Right now generating a level is a blocking action, but we would like to have some sort of animation while the level is being generated. do you know if there is a way to get the generator running in a coroutine to make it non-blocking? |
Beta Was this translation helpful? Give feedback.
Answered by
OndrejNepozitek
Feb 16, 2023
Replies: 1 comment 1 reply
-
Hey, a non-blocking generator is a PRO feature right now so I don't plan to add it to the free version. If you have the PRO version, you can for example check the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
foobraco
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey, a non-blocking generator is a PRO feature right now so I don't plan to add it to the free version. If you have the PRO version, you can for example check the
GungeonGameManager
class which has this code inside.