public void OnClick(BaseEventData evnt) { PointerEventData pntr = (PointerEventData)evnt; //Debug.Log (pnt.pointerId); ClickEvent(pntr.pointerId); }