용도

if(!EventSystem.current.IsPointerOverGameObject())
	{  
	         //클릭 처리
	}

Untitled

클릭과 터치 구현

#if UNITY_EDITOR
        point_id = -1;
#else
        point_id = 0;
#endif

if(!EventSystem.current.IsPointerOverGameObject(point_id))
	{  
	         //클릭 처리
	}