protected GUIViewDebuggerWindow() { m_InstructionModeView = new StyleDrawInspectView(this); m_Highlighter = new ElementHighlighter(); m_StylePicker = new StylePicker(this, m_Highlighter); m_StylePicker.CanInspectView = CanInspectView; }
void OnDestroy() { if (m_StylePicker != null) { m_StylePicker.StopExploreStyle(); m_StylePicker = null; } }