Where is the best place to put global code? I have two examples.
The first is game states? For example, isPaused, isTalking etc.
The second is world events. For example, let’s say I have a puzzle with 4 objects I turn them all on and they all rotate (for example). Where is the best place to put the check logic?
When I used Unity years ago, I usually would have an empty object where all of my code would go. Is there something similar in unreal?
Game instance exist while the game is running, it’s what it’s there for.
Game mode is actually supposed to be just a configuration BP, which shows the system how to connect various articles ( controller, character etc ) to run the game.