Hi Farshooter
yes, it would be different. For UObject, if SomeClass inherits from it, you go;
foo = NewObject<SomeClass>();
If its an actor you’d spawn it, and I don’t think you could do that in a constructor…
Hi Farshooter
yes, it would be different. For UObject, if SomeClass inherits from it, you go;
foo = NewObject<SomeClass>();
If its an actor you’d spawn it, and I don’t think you could do that in a constructor…