예제 #1
0
 public override void OnPressed()
 {
     base.OnPressed();
     if (menuIsOpen)
     {
         menu.CloseMenu();
     }
     else
     {
         menu.OpenMenu();
     }
     ToggleMenuStatus();
 }
예제 #2
0
 public void ClickText()
 {
     SelectMenu.CloseMenu(ItemText.text);
 }