Sidebar and Page

  • Ovrle UI dashboard consists of a sidebar and pages.
  • Dashboard may have multiple pages.
  • Sidebar has page links to switch pages.
  • Page has UI elements under their Contents game object.

Sidebar and Page

Multiple pages

Usage

  • Dashboard prefab has one page and sidebar item by default.
  • Set page id on page game object inspector.
  • Page id is a unique string in all pages that is used for page switching.
  • Set the page id to corresponding sidebar item game object.

Set pageId of page game object.

Page pageId

Set the same pageId to corresponding sidebar item game object.

Sidebar pageId

Add new page

  • Drag and drop Page prefab to Dashboard > Pages and set unique page id in inspector.
  • Drag and drop SidebarItem prefab to Dashboard > Sidebar > Items and set the same page id in inspector.

Drag page and sidebar item

Change sidebar item text by SidebarItem > Text inspector.

Sidebar item text

More details on Sidebar, SidebarItem and Page pages.