unity check if click is on ui code example Example: unity Check if mouse clicked UI element EventSystem.current.IsPointerOverGameObject()