#include <TagComponentBus.h>
Inherits AZ::EBusTraits.
|
static const AZ::EBusAddressPolicy | AddressPolicy = AZ::EBusAddressPolicy::ById |
|
Use this bus if you want to know when the list of all entities with a given tag changes. When you connect to this bus it will fire your handler once for each entity already with this tag
◆ OnEntityTagAdded()
virtual void LmbrCentral::TagGlobalNotifications::OnEntityTagAdded |
( |
const AZ::EntityId & |
| ) |
|
|
pure virtual |
When connecting to this bus, your OnEntityTagAdded handler will fire once for each entity that already has this tag. After initial connection you will be alerted when ever a new entity gains or loses the given tag
◆ OnEntityTagRemoved()
virtual void LmbrCentral::TagGlobalNotifications::OnEntityTagRemoved |
( |
const AZ::EntityId & |
| ) |
|
|
pure virtual |
You will be alerted when ever an entity with a given tag has that tag removed
The documentation for this class was generated from the following file:
- Gems/LmbrCentral/Code/include/LmbrCentral/Scripting/TagComponentBus.h