예제 #1
0
        private static void BeginBox()
        {
            MightyColorUtilities.BeginBackgroundColor(ColorValue.SoftContrast.GetColor());
            m_darkBox.BeginDrawGroup(indentInside: false);

            GUILayout.BeginHorizontal();
            Space();

            GUILayout.BeginVertical();
        }
예제 #2
0
        private static void BeginBox(string label)
        {
            MightyColorUtilities.BeginBackgroundColor(ColorValue.SoftContrast.GetColor());
            m_darkBox.BeginDrawGroup(indentInside: false);

            GUILayout.BeginHorizontal();
            Space();

            GUILayout.BeginVertical();
            m_darkBox.DrawGroupLabel(label, EditorStyles.boldLabel);
            m_darkBox.DrawLine();
        }