Default AR App
Documentation for the Default AR App project found at https://github.com/ingratexr/unity-ar-boilerplate
MainUI Class Reference

Class that sits at the root of the scene's UI tree and controls which submenu is visible when the main (ie non-AR) UI is visible. More...

Inheritance diagram for MainUI:

Public Member Functions

void PickAMenu (string _menu)
 Use a string to select a menu to open. More...
 
void OpenMainMenu ()
 Open the main menu and close other UI. More...
 
void OpenAboutMenu ()
 Open the info menu and close other UI. More...
 
void ForceUpdate (string _reason, string _url, bool _allowSkip)
 Initialize force update UI with correct url and message to user. More...
 

Detailed Description

Class that sits at the root of the scene's UI tree and controls which submenu is visible when the main (ie non-AR) UI is visible.

Member Function Documentation

◆ ForceUpdate()

void MainUI.ForceUpdate ( string  _reason,
string  _url,
bool  _allowSkip 
)

Initialize force update UI with correct url and message to user.

Open force update UI and close other UI.

Parameters
_reason
_url

◆ OpenAboutMenu()

void MainUI.OpenAboutMenu ( )

Open the info menu and close other UI.

◆ OpenMainMenu()

void MainUI.OpenMainMenu ( )

Open the main menu and close other UI.

◆ PickAMenu()

void MainUI.PickAMenu ( string  _menu)

Use a string to select a menu to open.

Parameters
_menuThe menu to open.

The documentation for this class was generated from the following file: