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?
Any advice would be appreciated.