public virtual void OnDisable() { SessionState.SetBool("ShowLightingEditor", this.m_ShowEditor); this.m_ShowAmbientBakeMode.valueChanged.RemoveAllListeners(); this.m_ParentWindow = null; }