Exemplo n.º 1
0
        void IPointerExitHandler.OnPointerExit(PointerEventData eventData)
        {
            var action = new UiExitActionData();

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