It’s just refencing. No workarounds are necessary here. Keep references in variables, access them later.
The CREATE function doesnt apply then,
Use the reference that you had set.
If in doubt, consider explaining the setup needed, as in:
- I create 2 widgets in the player controller
- I need a 3rd widget that I create in the Game Mode to access the 2 widgets from the PC
Currently, it’s unclear what goes where.
There are 3 communication methods in UE4:
- direct comms
- event dispatchers
- interface
Each serves a different purpose.
You keep saying you’re unhppy with memory management but that makes little sense in the grand scheme of things. What exactly are you going to do with the memory the pointer occupies? Because the massive class is loaded all the same…