コード例 #1
0
 public Rectangle((int x, int y) oneEdge, (int x, int y) otherEdge) : this(new Vector2Int(oneEdge.x, oneEdge.y), new Vector2Int(otherEdge.x, otherEdge.y))
コード例 #2
0
 public RectangleFloat((float x, float y) oneEdge, (float x, float y) otherEdge) : this(new Vector2(oneEdge.x, oneEdge.y), new Vector2(otherEdge.x, otherEdge.y))