/// <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; }
/// <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; }
public virtual void Initialize(ObjectEditor editor) { m_Editor = editor; }
public abstract void OnInspector(ObjectEditor editor);
public virtual void Initialize(ObjectEditor editor) { m_Editor = editor; }