public bool IsInsideViewportPoints(Vector2 startPoint, Vector2 endPoint, ISelectable selectable) { Vector2[] area = Poly.GetDefaultQuadrilateral(startPoint, endPoint); Vector2 position = Camera.main.WorldToViewportPoint(selectable.Position); return(Poly.ContainsPoint(area, position)); }