Exemple #1
0
 /// <summary>
 /// Removes the given sub menu from the tab menu's stack.
 /// </summary>
 /// <param name="subMenu">The menu to remove</param>
 /// <returns>The page that was removed</returns>
 public UIPage RemovePageFromStack(SubMenu subMenu) => RemovePageFromStack(subMenu.uiPage);
Exemple #2
0
 /// <summary>
 /// Goes to the given page in the tab menu's stack.
 /// Closes any other pages above it in the stack.
 /// The given page must already be in the stack.
 /// </summary>
 /// <param name="subMenu">The menu to open</param>
 public void GoBackToMenu(SubMenu subMenu) => GoBackToMenu(subMenu.uiPage);
Exemple #3
0
 /// <summary>
 /// Opens a the specified menu as a sub menu of the tab menu.
 /// </summary>
 /// <param name="subMenu">The menu to open</param>
 public void OpenSubMenu(SubMenu subMenu) => OpenSubMenu(subMenu.uiPage);