Skip to content

Useful functions

virtual void RerunConstructionScripts();

UActorComponent* CreateComponentFromTemplate(UActorComponent* **Template**, const FName **InName** = NAME_None );

UActorComponent* CreateComponentFromTemplateData();

LoadedLevel will not be set on the ULevelStreaming object until the level is fully loaded. And at that same point the ULevelStreaming.OnLevelLoaded will be broadcast.

Reference From

Duplicate or create an instance of an existing object. Can also be used to create a duplicate new asset that’s a subclass of a new asset:#

*Bag = (UPEBag*)StaticConstructObject (BagContentRef->StaticClass(), GetTransientPackage(), DataAssetTemplate);*

COREUOBJECT_API UObject* StaticConstructObject( UClass* Class, UObject* InOuter=(UObject*)GetTransientPackage(), FName Name=NAME_None, EObjectFlags SetFlags=RF_NoFlags, UObject* Template=NULL, bool bCopyTransientsFromClassDefaults=false, struct FObjectInstancingGraph* InstanceGraph=NULL );

Reference From

Prevent or Disable creating a default subobject:#


Last update: November 14, 2019