public void OnEnable(Rect pos, EditorWindow parent) { if (m_PropertyTreeState == null) { m_PropertyTreeState = new TreeViewState(); } m_PropertyTreeView = new PropertyTree(m_PropertyTreeState, this); m_resizablePanel.OnEnable(pos, parent); RefreshData(); }
public void OnEnable(Rect pos, EditorWindow parent) { m_Position = pos; m_resizablePanel.OnEnable(pos, parent); if (m_ConfigTreeState == null) { m_ConfigTreeState = new TreeViewState(); } m_ConfigTreeView = new ConfigTree(m_ConfigTreeState, this); GetAllConfigurations(); }