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