Hi!
I have a game that uses a menu with buttons. This is the hub of the game.
If you press the first button ...the function for that button is activated
This function stops the panels , sets the tone for the next level
waits the amount of time needed and opens the appropriate level that is
activated by the first button, starts the new functions.....
Same for other buttons.
The idea is to seperate things.
Hope this helps.