void DrawRogueSettings() { GUILayout.BeginArea(rogue_selection); //write label GUILayout.Label("Rogue"); //create enum popup EditorGUILayout.EnumPopup(rogue_En.arm); //butto for create character, open new window if (GUILayout.Button("Create")) { GenerateSettings.OpenWindow(GenerateSettings.settings.ROGUE); } GUILayout.EndArea(); }
void DrawWarriorSettings() { GUILayout.BeginArea(warrior_selection); //write label GUILayout.Label("Warrior"); //create enum popup //warrior_En.arm = (ArmType)EditorGUILayout.EnumPopup(ArmType.TWOHAND); EditorGUILayout.EnumPopup(warrior_En.arm); //butto for create character, open new window if (GUILayout.Button("Create")) { GenerateSettings.OpenWindow(GenerateSettings.settings.WARRIOR); } GUILayout.EndArea(); }
void DrawMageSettings() { GUILayout.BeginArea(mage_selection); //write label GUILayout.Label("Mage"); EditorGUILayout.BeginHorizontal(); //create enum popup EditorGUILayout.EnumPopup(mage_En.arm); EditorGUILayout.EndHorizontal(); //butto for create character, open new window if (GUILayout.Button("Create")) { GenerateSettings.OpenWindow(GenerateSettings.settings.MAGE); } GUILayout.EndArea(); }