Draws a rectangle outline.
float3
center
float2
size
The rectangle will be aligned to the X and Z axes.
Draw.xz.WireRectangle(new Vector3(0f, 0, 0), new Vector2(1, 1), Color.black);
WirePolygon
This method cannot be used inside of Burst jobs. See Drawing from a Job/ECS instead.
Color
color