#include <UiSpawnerBus.h>
Inherits AZ::ComponentBus.
Public Member Functions | |
virtual void | OnSpawnBegin (const AzFramework::SliceInstantiationTicket &) |
virtual void | OnEntitySpawned (const AzFramework::SliceInstantiationTicket &, const AZ::EntityId &) |
Notify that an entity has spawned, will be called once for each entity spawned in a slice. | |
virtual void | OnEntitiesSpawned (const AzFramework::SliceInstantiationTicket &, const AZStd::vector< AZ::EntityId > &) |
Single event notification for an entire slice spawn, providing a list of all resulting entity Ids. | |
virtual void | OnTopLevelEntitiesSpawned (const AzFramework::SliceInstantiationTicket &, const AZStd::vector< AZ::EntityId > &) |
virtual void | OnSpawnEnd (const AzFramework::SliceInstantiationTicket &) |
Notify that a spawn has been completed. All spawn notifications for this ticket have been dispatched. | |
virtual void | OnSpawnFailed (const AzFramework::SliceInstantiationTicket &) |
Notify that slice has failed to be spawned. | |
Bus for notifications dispatched by the UiSpawnerComponent Whenever one of the "Spawn" calls in UiSpawnerInterface is called then a listener connected on this bus with the spawner entity ID will either get:
|
inlinevirtual |
Notify that slice has been spawned, but entities have not yet been activated. OnEntitySpawned events are about to be dispatched.
|
inlinevirtual |
Single event notification for an entire slice spawn, providing a list of all resulting top-level entity Ids. Top-level entities are ones that are not the child of any other entity in the slice