示例#1
0
 /// <summary>
 /// Draws the editor to the inspector
 /// </summary>
 public override void OnInspectorGUI()
 {
     OpenScenesEditorWindow.DrawOpenTryItButton();
     serializedObject.Update();
     Editor.DrawPropertiesExcluding(serializedObject, new[] { "m_Script", "m_Greetings" });
     m_RepliesSetReorderableList.OnInspectorGUI();
     serializedObject.ApplyModifiedProperties();
 }
示例#2
0
        /// <summary>
        /// Draws the editor to the inspector
        /// </summary>
        public override void OnInspectorGUI()
        {
            OpenScenesEditorWindow.DrawOpenTryItButton();
            serializedObject.Update();

            Editor.DrawPropertiesExcluding(serializedObject, new[] { "m_Script", "m_BasicCommands", "m_ParameterizedCommands", "m_NArgunmentCommands" });
            m_BasicCommandsReorderableList.OnInspectorGUI();
            m_ParameterizedCommandsReorderableList.OnInspectorGUI();
            m_NArgunmentCommandsReorderableList.OnInspectorGUI();

            serializedObject.ApplyModifiedProperties();
        }