https://docs.unrealengine.com/en-US/…tor/index.html
The docs show multiple override methods where you can pass extra params.
This works:
MyCustomClass* thing = GetWorld()->SpawnActor<MyCustomClass>(MyCustomClass::StaticClass());
This doesn’t:
MyCustomClass* thing = GetWorld()->SpawnActor<MyCustomClass>(MyCustomClass::StaticClass(), location);
What is my basic missunderstanding from the docs? I assume it’s a c++/template thing.
Would someone be able to give me an example for some of those overrides just to help clear my head on this?
Cheers!