Hello,
The title is self-explanatory. How do I access variables that are declared in my AGameMode from other classes? In my case, I need to access them from my UActorComponent.
Thanks in advance!
~Stefan
Hello,
The title is self-explanatory. How do I access variables that are declared in my AGameMode from other classes? In my case, I need to access them from my UActorComponent.
Thanks in advance!
~Stefan
This should work https://answers.unrealengine.com/questions/25153/how-to-get-a-reference-to-my-gamemode-class-instan.html
Thanks, it did.