Example #1
0
        public static void createTitleBox(string title, bool subTitle = false)
        {
            if (subTitle)
            {
                EditorColors.SET_SUBTITLE_COLOR();
            }
            else
            {
                EditorColors.SET_MAINTITLE_COLOR();
            }

            GUILayout.BeginVertical(GUI.skin.box);

            EditorGUILayout.LabelField(title, EditorStyles.boldLabel);

            GUILayout.EndVertical();
            EditorColors.SET_DEFAULT_COLOR();
        }