コード例 #1
0
        void IPointerEnterHandler.OnPointerEnter(PointerEventData eventData)
        {
            var action = new UiEnterActionData();

            action.GroupId   = GroupId;
            action.Sender    = gameObject;
            action.EventData = eventData;
            SendActionData(action);
        }
コード例 #2
0
 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);
     }
 }