Jedność kliknij obiekt 2D
// Requires for the object to have a collider and this script attached
private void OnMouseDown()
{
Debug.Log("Clicked on object!");
}
Wandering Wryneck