示例#1
0
    public static void DrawRect(Rect rect, Color col)
    {
        Vector3 pos   = new Vector3(rect.x + rect.width / 2, rect.y + rect.height / 2, 0.0f);
        Vector3 scale = new Vector3(rect.width, rect.height, 0.0f);

        DebugHelper.DrawRect(pos, col, scale);
    }