Menu
Lumberyard
User Guide (Version 1.13)

UI Canvas Asset Ref

Component entity system is in preview release and is subject to change.

With the UI Canvas Asset Ref component, you can associate a UI canvas with a component entity in a level.

When you set up a UI canvas asset ref component, you can:

  • Select whether to automatically load the UI canvas when the level loads

  • Use a flow graph that is associated with the UI canvas to reference it using the UIe flow graph nodes.

Use this component in conjunction with the UI Canvas on Mesh component if you want to place a UI canvas on a 3D mesh that a player can interact with.

For more information about how to use the UI Canvas Asset Ref component, see Placing UI Canvases in the 3D World.

UI Canvas Asset Ref Component Properties

The UI Canvas Asset Ref component has the following properties:

Canvas pathname

The relative pathname of the UI canvas asset file.

Load automatically

If selected, the canvas is automatically loaded when this component entity is loaded, typically when the level is loaded.