コード例 #1
0
    public static void DrawWorldBox(Bounds bounds, GUIStyle boxStyle = null, string text = "")
    {
        PrepareDebugStyle();
        boxStyle = boxStyle ?? DebugBoxWhite;
        var rect = bounds.AsGuiRect();

        GUI.Box(rect, text, DebugBoxWhite);
    }