private void OnItemSelected(PointerEventData evtDat) { if (onItemSelected != null) { onItemSelected.Invoke(this); } }
private void OnItemSelected(DropDownMenuItem item) { if (m_txtSelectedItem != null) { m_txtSelectedItem.text = item.text; } OnHideMenu(null); if (onItemSelected != null) { onItemSelected.Invoke(item.gameObject); } }