Messages sent by character controllers. More...
#include <CharacterBus.h>
Inherits AZ::ComponentBus.
Public Types | |
template<class Bus > | |
using | ConnectionPolicy = CharacterNotificationsConnectionPolicy< Bus > |
Public Member Functions | |
virtual void | OnCharacterActivated (const AZ::EntityId &entityId) |
virtual void | OnCharacterDeactivated (const AZ::EntityId &entityId) |
Notifies that the character controller has deactivated on an entity. | |
Messages sent by character controllers.
using Physics::CharacterNotifications::ConnectionPolicy = CharacterNotificationsConnectionPolicy<Bus> |
With this connection policy, CharacterNotifications::OnCharacterActivated and CharacterNotifications::OnCharacterDeactivated events will be immediately dispatched when a handler connects to the bus.
|
inlinevirtual |
Notifies that the character controller has activated on an entity. Other components that depend on the character controller can't simply rely on the component service dependencies because the character controller is activated at OnEntityActivated, after the components' activation.