public void ToggleExpanded() { this.m_CachedPref = -this.m_CachedPref; EditorPrefs.SetFloat(this.m_PrefName, this.m_CachedPref); }