public UIButton() { onDown = new OnPointerDownEvent(); onUp = new OnPointerUpEvent(); onEnter = new OnPointerEnterEvent(); onExit = new OnPointerExitEvent(); onClick = new OnPointerClickEvent(); onDrop = new OnPointerDropEvent(); }
private void DisableSelection() { _counter--; if (itemSelectionImage != null && _counter <= 0) { _selectedItem = null; OnPointerExitEvent?.Invoke(); itemSelectionImage.SetActive(false); } }
public override void OnPointerExit(PointerEventData eventData) { base.OnPointerExit(eventData); DoStateTransition(SelectionState.Normal, true); if (OnPointerExitEvent != null) { OnPointerExitEvent.Invoke(this, eventData); } }
void IPointerExitHandler.OnPointerExit(PointerEventData eventData) { OnPointerExitEvent?.Invoke(eventData); }
public void OnPointerExit(PointerEventData eventData) { isPointerOver = false; OnPointerExitEvent?.Invoke(this); }
public void OnPointerExit(PointerEventData eventData) { OnPointerExitEvent.Invoke(); }
protected virtual void OnPointerExit() { OnPointerExitEvent?.Invoke(); }
private void OnPointerExit(BaseEventData eventData) { OnPointerExitEvent.Invoke(); }
public void OnPointerExit(PointerEventData eventData) { OnPointerExitEvent?.Invoke(this); }
internal static void InvokePointerExit(GameObject prevObject) { OnPointerExitEvent?.Invoke(prevObject); }