Menu
Lumberyard
Developer Guide (Version 1.11)

UICanvasManager

Contains functions for loading, unloading, and finding UI canvases.

UiCanvasManagerBus

Services messages for the UiCanvasManager component.

FindLoadedCanvasByPathName

Returns the entity ID of the loaded canvas that has the specified canvas pathname.

Syntax

Copy
AZ::EntityId FindLoadedCanvasByPathName(const AZStd::string& canvasPathname)

LoadCanvas

Loads a canvas and returns the entity ID of the loaded canvas.

Syntax

Copy
AZ::EntityId LoadCanvas(const AZStd::string& canvasPathname)

UnloadCanvas

Unloads a UI canvas.

Syntax

Copy
void UnloadCanvas(AZ::EntityId canvasEntityId)

On this page: