예제 #1
0
        void ISelectHandler.OnSelect(BaseEventData eventData)
        {
            var action = new UiSelectActionData();

            action.GroupId   = GroupId;
            action.Sender    = gameObject;
            action.EventData = eventData;
            SendActionData(action);
        }
 void ISelectHandler.OnSelect(BaseEventData eventData)
 {
     if (Singleton.IsTypeRegistered <UnityEventBus> ())
     {
         var action = new UiSelectActionData();
         action.GroupId   = GroupId;
         action.Sender    = gameObject;
         action.EventData = eventData;
         Singleton.Get <UnityEventBus> ().Publish <UiSelectActionData> (action);
     }
 }