Color Header

Issue #113 wontfix
Former user created an issue

It would be cool to have color header sections for BoxGroup and such.

Comments (3)

  1. Bjarke Elias

    Thanks for the suggestion, we'll consider this :)

    For now, you could do something like this:

        public class MyComponent : MonoBehaviour
            [OnInspectorGUI("DrawColoredHeader", append: false)]
            public int A;
            public int B;
        #if UNITY_EDITOR
            private void DrawColoredHeader()
                GUILayout.Label("My Box Header");
  2. Bjarke Elias

    We'll keep the simplicity of the BoxGroup attribute for now, but you can easily make your own ColorBoxGroup attribute, or use the code posted above.

  3. Log in to comment