UnityEditor.LightingWindow.OnEnable C# (CSharp) Method

OnEnable() private method

private OnEnable ( ) : void
return void
        private void OnEnable()
        {
            base.titleContent = base.GetLocalizedTitleContent();
            this.m_LightmapPreviewTab = new LightingWindowLightmapPreviewTab();
            this.m_ObjectTab = new LightingWindowObjectTab();
            this.m_ObjectTab.OnEnable(this);
            this.m_ShowRealtimeSettings = SessionState.GetBool("ShowRealtimeLightingSettings", true);
            this.m_ShowBakeSettings = SessionState.GetBool("ShowBakedLightingSettings", true);
            this.m_ShowGeneralSettings = SessionState.GetBool("ShowGeneralLightingSettings", true);
            this.UpdateAnimatedBools(true);
            base.autoRepaintOnSceneChange = true;
            this.m_PreviewResizer.Init("LightmappingPreview");
            EditorApplication.searchChanged = (EditorApplication.CallbackFunction) Delegate.Combine(EditorApplication.searchChanged, new EditorApplication.CallbackFunction(this.Repaint));
            base.Repaint();
        }