Unity нажмите на 2D -объект
// Requires for the object to have a collider and this script attached
private void OnMouseDown()
{
Debug.Log("Clicked on object!");
}
Wandering Wryneck