You do this this way (only in UE4 as normally in C++ you use “new” operator, bit UE4 operates objects diffrently):
NewObject<UClassName>()
You do this this way (only in UE4 as normally in C++ you use “new” operator, bit UE4 operates objects diffrently):
NewObject<UClassName>()