public void OnPointerClick(PointerEventData eventData) { OS.SetSelectedShape(gameObject.GetComponent <Shape> ()); }