I’m trying to know if the panel contains the mouse with rect.contains.
Rect rect = new Rect (panelContenedor.transform.position);
if (rect.Contains(Input.mousePosition))
{
}
But it show me this errors
It is assumed that rect.contains takes Vector 3