if (Input.GetMouseButtonDown(0))
{
startPosition = UtilsClass.GetMouseWorldPosition();
}
if (Input.GetMouseButtonUp(0))
{
Debug.Log(UtilsClass.GetMouseWorldPosition() + " " + startPosition);
Collider2D[] collider2DArray= Physics2D.OverlapAreaAll(startPosition, UtilsClass.GetMouseWorldPosition());
Debug.Log("######");
foreach (Collider2D collider2D in collider2DArray)
{
Debug.Log(collider2D);
}
}