예제 #1
0
        public override void OnBodyHeaderGUI()
        {
            EditorGUILayout.BeginHorizontal();
            {
                EditorGUILayout.LabelField("Prefix Settings");
                GUIHelper.SerializedArraySelection(prefixes, ref prefixIndex, UpdateNames, UpdateNames);
            }
            EditorGUILayout.EndHorizontal();

            prefixIndex = GUILayout.SelectionGrid(prefixIndex, prefixNames.ToArray(), 3, EditorStyles.centeredGreyMiniLabel);
        }
예제 #2
0
        public override void OnTitleContentGUI()
        {
            EditorGUILayout.Space();
            GUIHelper.LineSpacer();
            EditorGUILayout.Space();

            EditorGUILayout.BeginHorizontal();
            {
                EditorGUILayout.LabelField("Style Settings");
                GUIHelper.SerializedArraySelection(styles, ref styleIndex, UpdateNames, UpdateNames);
            }
            EditorGUILayout.EndHorizontal();


            styleIndex = GUILayout.SelectionGrid(styleIndex, styleNames.ToArray(), 4, EditorStyles.centeredGreyMiniLabel);
        }