UnityEditor.LightingWindow.OnDisable C# (CSharp) Method

OnDisable() private method

private OnDisable ( ) : void
return void
        private void OnDisable()
        {
            this.ClearCachedProperties();
            this.m_ObjectTab.OnDisable();
            SessionState.SetBool("ShowRealtimeLightingSettings", this.m_ShowRealtimeSettings);
            SessionState.SetBool("ShowBakedLightingSettings", this.m_ShowBakeSettings);
            SessionState.SetBool("ShowGeneralLightingSettings", this.m_ShowGeneralSettings);
            EditorApplication.searchChanged = (EditorApplication.CallbackFunction) Delegate.Remove(EditorApplication.searchChanged, new EditorApplication.CallbackFunction(this.Repaint));
        }