A question I’ve been meaning to ask for a while. I’m using World and Game Instance objects quite a few times in my code, so I wondered if I’m doing something wrong.
Does it make sense to make a variable that stores a reference to UWorld in order to optimize performance? Or is GetWorld() smart and I’m not saving any bandwidth by doing this?
What about game instance? Specifically, if I’d like to cast it to UMyCustomGameInstance.
Would making a variable to store make sense?