Item View

Item Views are used to display an item in the UI, it works with Item View Modules which listen to changes on the Item View.

This page explains more about the Item View (Modules) component.

When using the UI Designer multiple Item Views are available as templates. Once a new Item View is created they may be edited to add/remove Item View Modules.

Item View Module Types will appear automatically in the drop down when creating a new module. To make sure custom Item View Modules appear in the list make your custom script inherit the Item View Modules class or the base View Module class.

Example of Item View Modules are:

  • Name Item View: Writes the name of the item in a Text/Text Mesh Pro component.
  • Icon Item View: Displays the Sprite “Icon” attribute of the item in an Image component.