예제 #1
0
        public void ShowMenu(Menu menu)
        {
            HideCurrentMenu();

            CurrentMenu = menu;
            CurrentMenu.IsOpen = true;
        }
예제 #2
0
 public void HideCurrentMenu()
 {
     if ( CurrentMenu != null )
         CurrentMenu.IsOpen = false;
     CurrentMenu = null;
 }
예제 #3
0
 public void DebugMenu(Menu menu)
 {
     Debug.Log("Ask to display menu : \"" + menu.name + "\".");
 }