void IPointerExitHandler.OnPointerExit(PointerEventData eventData) { if (!IsMute) { PointerExit?.Invoke(); } }
public void OnPointerExit(PointerEventData eventData) { //Debug.Log("Exit"); gazing = false; timer = 0; if (PointerExit != null) { PointerExit.Invoke(); } }
/// <summary> /// Initialize listener of stop pressing mouse on item's UI /// </summary> private void SetupTrigger() { _trigger = gameObject.AddComponent <EventTrigger>(); var pointerExit = new EventTrigger.Entry { eventID = EventTriggerType.PointerExit }; pointerExit.callback.AddListener(item => PointerExit?.Invoke(Item)); _trigger.triggers.Add(pointerExit); }
public void OnPointerExit(PointerEventData pointer) { if (Slot.Skill.IsEmpty()) { return; } PointerExit?.Invoke(this); if (ShowTooltip) { SkillTooltip.Instance.Hide(); } }
public void OnPointerExit(PointerEventData eventData) { PointerExit?.Invoke(eventData, this); }
public virtual void OnPointerExit(PointerEventData eventData) { PointerExit?.Invoke(this, eventData); ForwardToParents <IPointerExitHandler>((parent) => parent.OnPointerExit(eventData)); }