#include <UiCanvasUpdateNotificationBus.h>
Inherits AZ::ComponentBus.
|
static const AZ::EBusHandlerPolicy | HandlerPolicy = AZ::EBusHandlerPolicy::Multiple |
| Multiple components on a entity can implement the events.
|
|
Elements that require update notifications should connect to this bus using the entity id of their containing canvas.
◆ Update()
virtual void UiCanvasUpdateNotification::Update |
( |
float |
deltaTime | ) |
|
|
pure virtual |
Update the component. This is called when the game is running. It is different from the TickBus in that it is called only when the canvas is updated. So it is not called if the canvas is disabled.
◆ UpdateInEditor()
virtual void UiCanvasUpdateNotification::UpdateInEditor |
( |
float |
| ) |
|
|
inlinevirtual |
Update the component while in the editor. This is called every frame when in the editor and the game is NOT running.
The documentation for this class was generated from the following file:
- Gems/LyShine/Code/Include/LyShine/Bus/UiCanvasUpdateNotificationBus.h