When using the following code the Rect version is displayed but the non rect version does not. I have updated to Aline 1.5.3
using (Draw.ingame.InScreenSpace(Camera.main))
{
using (Draw.ingame.WithLineWidth(2f))
{
// Does not work
Draw.ingame.WireRectangle(new float3(800f, 800f, 0f), Quaternion.identity, new float2(100f, 100f), Color.white);
// Works
Rect rect = new Rect(new Vector3(900, 900, 0), new Vector2(50, 50));
Draw.ingame.WireRectangle(rect);
}
}
WireRectangle that takes a quaternion will align the rect along the quaternion’s X and Z axis. This is likely not what you want if you are drawing in camera space. When using quaternion.identity, the rectangle will be rotated so that you will see it from the side.