Xerios / ScreenManager

Flexible way to manage screens with transitions for Unity
MIT License
563 stars 69 forks source link

What function to start the game in Game Screen #4

Closed takaaptech closed 7 years ago

takaaptech commented 7 years ago

Hi, I have Ingame screen that extend BaseScreen. I wonder what is best function to init and start game logic? (For example we will init level and start update loop ) Is this: OnAnimationInEnd ?

Thank so much!

Xerios commented 7 years ago

It all depends on how you did your game, there are no specific rules. Although like I said previously, having game not part of ScreenManager would be the best way to go. In that case, you hide all screens and start the game, simple as that!

takaaptech commented 7 years ago

Thank so much!