Exemplo n.º 1
0
        private static void BeginBox()
        {
            MightyColorUtilities.BeginBackgroundColor(ColorValue.SoftContrast.GetColor());
            m_darkBox.BeginDrawGroup(indentInside: false);

            GUILayout.BeginHorizontal();
            Space();

            GUILayout.BeginVertical();
        }
Exemplo n.º 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();
        }