public void OnPointerDown(PointerEventData eventData) { if (eventData == null) return; clickBeginTime = Time.time; }