void
WireRectangle
(
float3 | center | |
quaternion | rotation | |
float2 | size | |
)
Draws a rectangle outline.
The rectangle will be oriented along the rotation's X and Z axes.
Draw.WireRectangle(new Vector3(0f, 0, 0), Quaternion.identity, new Vector2(1, 1), Color.black);
This is identical to Draw.WirePlane(float3,quaternion,float2), but this name is added for consistency.