You could do what I do and store any variables that need public access in your game mode, and then you can just cast to game mode with ‘get game mode’ as the object.
You could do what I do and store any variables that need public access in your game mode, and then you can just cast to game mode with ‘get game mode’ as the object.