public void OnPointerEnter(PointerEventData eventData) { if (dragCursor.texture != null) { dragCursor.Enable(); } }
public override void OnPointerEnter(PointerEventData eventData) { base.OnPointerEnter(eventData); if (useCursorIcon) { cursorIcon.Enable(); } }