March 2019
Intermediate to advanced
708 pages
17h 9m
English
Instantiating UObject-derived classes that are not AActor class derivatives does not use UWorld::SpawnActor< >. Instead, we have to a special global function: ConstructObject< > or NewObject< >. Note that you should not use the bare C++ keyword new to allocate new instances of your UE4 UObject class derivatives.
You will need at least two pieces of information to properly instantiate your UCLASS instance:
Read now
Unlock full access