Simple question but not sure I’ve found a good answer after digging around. How do you initialize a class member reference variable?
Example:
My ActorComponent has a TArray<>& member variable.
Ideally one of my constructor arguments would be a TArray<>& and then I would initialize the class member in the constructor. But that is not possible with constructors in Unreal.
How would I initialize the TArray<>& in my Actor Component?