/// Closes this menu and shows the parent level public void ShowParentMenu() { if (!parentMenu) { menuRoot.CloseAll(); } else { FadeChildren(FadeState.Closed); parentMenu.FadeChildren(FadeState.Shown); childMenus.Clear(); } }
public void CloseSubMenu() { if (!parentMenu) { menuRoot.CloseAll(); } else { FadeChildren(FadeType.FadeOutPull, true); parentMenu.FadeChildren(FadeType.FadeInPull); childMenus.Clear(); } }