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

            PointerEnter?.Invoke(this);

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

            PointerEnter?.Invoke(eventData, this);
        }
Beispiel #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));
 }