public override void OnPressed() { base.OnPressed(); if (menuIsOpen) { menu.CloseMenu(); } else { menu.OpenMenu(); } ToggleMenuStatus(); }
public void ClickText() { SelectMenu.CloseMenu(ItemText.text); }