Exemple #1
0
 void IPointerEnterHandler.OnPointerEnter(PointerEventData eventData)
 {
     if (!IsMute)
     {
         PointerEnter?.Invoke();
     }
 }
Exemple #2
0
        public void OnPointerEnter(PointerEventData pointer)
        {
            if (Slot.Skill.IsEmpty())
            {
                return;
            }

            PointerEnter?.Invoke(this);

            if (ShowTooltip)
            {
                SkillTooltip.Instance.Show(Slot.Skill, GetComponent <RectTransform>());
            }
        }
Exemple #3
0
 public void OnPointerEnter(PointerEventData eventData)
 {
     PointerEnter?.Invoke(eventData, this);
 }
Exemple #4
0
        public void OnPointerEnter(PointerEventData eventData)
        {
            Debug.Log($"On pointer enter: {_buttonIndex}");

            PointerEnter?.Invoke(eventData, this);
        }
Exemple #5
0
 public void OnPointerEnter(PointerEventData eventData)
 {
     PointerEnter?.Invoke(cell);
 }
 public virtual void OnPointerEnter(PointerEventData eventData)
 {
     PointerEnter?.Invoke(this, eventData);
     ForwardToParents <IPointerEnterHandler>((parent) => parent.OnPointerEnter(eventData));
 }