/// <summary>
 /// Called at the start of the editor to initialize all needed elements
 /// </summary>
 /// <param name="editor"></param>
 public override void Initialize(ObjectEditor editor)
 {
     base.Initialize(editor);
     LoadData();
     m_ExclusionReorderList = new ReorderableList(m_Data.Exclusions, typeof(string), true, true, true, true);
     m_ExclusionReorderList.drawElementCallback += OnDrawExclusionElement;
     m_ExclusionReorderList.onAddCallback += OnAddExclusionElement;
 }
Example #2
0
 /// <summary>
 /// Called at the start of the editor to initialize all needed elements
 /// </summary>
 /// <param name="editor"></param>
 public override void Initialize(ObjectEditor editor)
 {
     base.Initialize(editor);
     LoadData();
     m_ExclusionReorderList = new ReorderableList(m_Data.Exclusions, typeof(string), true, true, true, true);
     m_ExclusionReorderList.drawElementCallback += OnDrawExclusionElement;
     m_ExclusionReorderList.drawHeaderCallback  += OnDrawHeader;
     m_ExclusionReorderList.onAddCallback       += OnAddExclusionElement;
 }
Example #3
0
 public virtual void Initialize(ObjectEditor editor)
 {
     m_Editor = editor;
 }
Example #4
0
 public abstract void OnInspector(ObjectEditor editor);
Example #5
0
 public virtual void Initialize(ObjectEditor editor)
 {
     m_Editor = editor;
 }