Navigation
API > API/Plugins > API/Plugins/InstancedActors > API/Plugins/InstancedActors/UServerInstancedActorsSpawnerSub-
Syntax
UPROPERTY (Transient)
mutable TObjectPtr < AActor > TransientActorBeingSpawned
Remarks
Set during SpawnActor and cleared once complete, to 'catch' UInstancedActorComponents initializing during the actor spawn, matching their Owner to TransientActorBeingSpawned in OnInstancedActorComponentInitialize, to test if the component was 'spawned by Instanced Actors'. If so, we call UInstancedActorsComponent::InitializeComponentForInstance and pass along TransientActorSpawningEntity as the Mass entity 'owning' this spawned actor.