Skip to content

Basic Menu Logic

eisclimber edited this page Feb 11, 2024 · 2 revisions

Basic Menu Logic

class in ExPresSXR.UI.Menu / Extends MonoBehavior
Component added via Component Menu

Description

Implements a basic menu navigation for switching menus (to a fixe "back"-menu or to an arbitrary one).

Members

Protected Properties

  • BasicMenuLogic backMenu: Menu to switch to when GoBack is called.

Public Methods

  • void GoToMenu(BasicMenuLogic menu): Disables the gameObject this component is attached to and activates the provided menu.
  • void GoBack(): Switches to the menu set as backMenu unless it is null.

ExPresS XR Wiki

Tutorial Pages

Code Documentation

Clone this wiki locally