Пример #1
0
        void IPointerEnterHandler.OnPointerEnter(PointerEventData eventData)
        {
            var action = new UiEnterActionData();

            action.GroupId   = GroupId;
            action.Sender    = gameObject;
            action.EventData = eventData;
            SendActionData(action);
        }
 void IPointerEnterHandler.OnPointerEnter(PointerEventData eventData)
 {
     if (Singleton.IsTypeRegistered <UnityEventBus> ())
     {
         var action = new UiEnterActionData();
         action.GroupId   = GroupId;
         action.Sender    = gameObject;
         action.EventData = eventData;
         Singleton.Get <UnityEventBus> ().Publish <UiEnterActionData> (action);
     }
 }