Prefab Reference Component
About
Use this component subclasses in any actor class to spawn any prefab(s) at runtime.
The PRC holds data (mainly setup in editor, before playing) that will dictate the spawning rules and what data will be passed to the spawned prefab's PSC/PSI.
For multiplayer projects, by default the spawning process is run on the server and if set correctly the spawned prefab actor will be replicated to all clients.
Classes
> Base Prefab Reference Component (UPSBasePrefabReferenceComponent
)
This class shouldn't be directly used by you, if you want to extend the PRC you should subclass the singleplayer or multiplayer class instead.
Delegates
While the available delegates are listed here, it is always recommended to read about them in the source code instead.
OnPrefabActorBeingDeferred
Called when this Prefab Reference Component spawned its prefab actor as deferred, but isnt finished
OnPrefabActorSpawned
Called when this Prefab Reference Component spawned its prefab actor. This is called before we handle the PSC/PSI and the properties.
OnPrefabActorSpawnFinished
Called when this Prefab Reference Component finished spawning its prefab actor.
Customize behavior
Actor Prefab Spawn Class GetterSpawn Parameters StructsSetting Up Prefab PropertiesBlueprint Async ActionsLightningAI NavigationLast updated