public override void OnPointerEnter(PointerEventData eventData) { base.OnPointerEnter(eventData); if (onEnter != null) { onEnter.Invoke(eventData); } }
public override void OnPointerEnter(PointerEventData eventData) { base.OnPointerEnter(eventData); DoStateTransition(SelectionState.Highlighted, true); if (OnPointerEnterEvent != null) { OnPointerEnterEvent.Invoke(this, eventData); } }
private void EnableSelection() { _counter++; if (_counter <= 0) { _counter = 1; } if (itemSelectionImage == null || _counter > 1) { return; } _selectedItem = this; itemSelectionImage.SetActive(true); OnPointerEnterEvent?.Invoke(); }
void IPointerEnterHandler.OnPointerEnter(PointerEventData eventData) { OnPointerEnterEvent?.Invoke(eventData); }
public void OnPointerExit(PointerEventData eventData) { OnPointerEnterEvent?.Invoke(this); }
public void OnPointerEnter(PointerEventData eventData) { isPointerOver = true; OnPointerEnterEvent?.Invoke(this); }
protected virtual void OnPointerEnter() { OnPointerEnterEvent?.Invoke(); }
public override void OnPointerEnter(PointerEventData eventData) { base.OnPointerEnter(eventData); OnPointerEnterEvent?.Invoke(eventData); }
/// <summary> /// On pointer enter. /// </summary> /// <param name="eventData">Pointer event data.</param> public void OnPointerEnter(PointerEventData eventData) { OnPointerEnterEvent?.Invoke(eventData); }
private void OnPointerEnter(BaseEventData eventData) { OnPointerEnterEvent.Invoke(); }
internal static void InvokePointerEnter(RaycastResult raycastResult, GameObject interactiveObj) { OnPointerEnterEvent?.Invoke(raycastResult, interactiveObj); }