Open 3D Engine LyShine Gem API Reference  24.09
O3DE is an open-source, fully-featured, high-fidelity, modular 3D engine for building games and simulations, available to every industry.
UiCanvasRefNotifications Class Reference

#include <UiCanvasRefBus.h>

Inherits AZ::ComponentBus.

Public Member Functions

virtual void OnCanvasRefChanged ([[maybe_unused]] AZ::EntityId uiCanvasRefEntity, [[maybe_unused]] AZ::EntityId uiCanvasEntity)
 

Detailed Description

UiCanvasRefNotificationBus Clients can connect to this bus to receive notifications of when the canvas reference in a UiCanvasRef changes to a different canvas

Member Function Documentation

◆ OnCanvasRefChanged()

virtual void UiCanvasRefNotifications::OnCanvasRefChanged ( [[maybe_unused] ] AZ::EntityId  uiCanvasRefEntity,
[[maybe_unused] ] AZ::EntityId  uiCanvasEntity 
)
inlinevirtual

Called when the canvas referenced by a canvas ref component changes This can happen through a load, unload or set


The documentation for this class was generated from the following file: