protected virtual void ClickOnUp(Pvr_UIPointer pointer, List <RaycastResult> results) { pointer.pointerEventData.eligibleForClick = pointer.ValidClick(false); if (!AttemptClick(pointer)) { IsEligibleClick(pointer, results); } }
protected virtual void ClickOnDown(Pvr_UIPointer pointer, List <RaycastResult> results, bool forceClick = false) { pointer.pointerEventData.eligibleForClick = (forceClick ? true : pointer.ValidClick(true)); if (IsEligibleClick(pointer, results)) { pointer.pointerEventData.eligibleForClick = false; AttemptClick(pointer); } }