Global variables store

Hey, everybody.
I would like to know where global variables can be stored so that they can be accessed from any actor.
For example, bDebugModeActive, and I could get its value from any object. I don’t really want to create separate variables in each actor, which many of them have.
Thanks for your help.

Try GameInstance, that where the variable is persistent across all level map.

But the Game Instance will work more than fine even though it’s not its job.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.