I created a main menu level in which you can host and join a game. Furthermore you can set your name with a text box.
When the text is comitted it sets a variable in the widget, which is displayed in the “main menu” level.
If I host or join a game, a new level gets loaded. But it is not possible to acces the name variable, because the “main menu” doesn’t exist anymore.
Only the level, which gets loaded has a game mode.
How can I handle this?
Thanks for taking time!