示例#1
0
 /// <summary>
 /// Invoked in the Layout of each widget that has this component.
 /// </summary>
 /// <param name="style"></param>
 public override void DrawContent(ScriptForgeStyles style)
 {
     m_CreateEnum = EditorGUILayout.Toggle("Create Enum", m_CreateEnum);
     EditorGUI.BeginDisabledGroup(!m_CreateEnum);
     {
         m_EnumName = EditorGUILayoutEx.ClassNameTextField(ScriptForgeLabels.enumNameContent, m_EnumName, "Types");
     }
     EditorGUI.EndDisabledGroup();
 }
示例#2
0
 /// <summary>
 /// Invoked when this component can draw it's content.
 /// </summary>
 /// <param name="style">Style.</param>
 public abstract void DrawContent(ScriptForgeStyles style);