private void SaveActiveState() { if (this.m_Area == ProfilerArea.GPU) { SessionState.SetBool("ProfilerChart" + this.m_Area, this.m_Active); } else { EditorPrefs.SetBool("ProfilerChart" + this.m_Area, this.m_Active); } }