Hello folks,
first to my specific problem:
I am working on a menu for Joining games like in warcraft 3 if u know this game.
For this i have a script game which doesn’t inherit from anything and just stores the playerlist and chatmessages until the game gets started, it then switches to another scene.
before it switches the scene i implemented a 5 sec countdown showing each second in the chat like this:
5
4
3
2
1
since i can’t use the update function in game since its not a monobehaviour i do it in another class the UIManager, but i fell like its a very bad and dirty way to do it.
if i inherit from monobehaviour however i have to attach the script game to some Object if my understanding is right . here is the general problem now : shall i just use a dummy-Object and add a gamescript everytime i create a game-instance ? i feel like this is also not a good way.
thanks in advance for your answers!