public void OnPointerClick(PointerEventData eventData) { if (parent != null) { parent.OnVertexClicked(this); } }