BRT_BuildReportWindow.DrawBuildSizes C# (CSharp) Method

DrawBuildSizes() private method

private DrawBuildSizes ( ) : void
return void
    void DrawBuildSizes()
    {
        if (!string.IsNullOrEmpty(_buildInfo.CompressedBuildSize))
        {
            GUILayout.BeginVertical();
        }

        GUILayout.Label(TOTAL_SIZE_BREAKDOWN_LABEL, INFO_TITLE_STYLE_NAME);

        if (!string.IsNullOrEmpty(_buildInfo.CompressedBuildSize))
        {
            GUILayout.BeginHorizontal();
                GUILayout.Label(TOTAL_SIZE_BREAKDOWN_MSG_PRE_BOLD, INFO_SUBTITLE_STYLE_NAME);
                GUILayout.Label(TOTAL_SIZE_BREAKDOWN_MSG_BOLD, INFO_SUBTITLE_BOLD_STYLE_NAME);
                GUILayout.Label(TOTAL_SIZE_BREAKDOWN_MSG_POST_BOLD, INFO_SUBTITLE_STYLE_NAME);
                GUILayout.FlexibleSpace();
            GUILayout.EndHorizontal();

            GUILayout.EndVertical();
        }

        if (_buildInfo.BuildSizes != null)
        {
            GUILayout.BeginHorizontal(GUILayout.MaxWidth(500));
            DrawNames(_buildInfo.BuildSizes);
            DrawReadableSizes(_buildInfo.BuildSizes);
            DrawPercentages(_buildInfo.BuildSizes);
            GUILayout.EndHorizontal();
        }
    }