private void LightingFieldsGUI()
        {
            bool oldShowLighting = m_Lighting.showSettings;
            bool oldShowCharting = m_Lighting.showChartingSettings;
            bool oldShowLightmap = m_Lighting.showLightmapSettings;

            if (m_Lighting.Begin())
            {
                RenderProbeFields();
                m_Lighting.RenderMeshSettings(true);
            }
            m_Lighting.End();

            if (m_Lighting.showSettings != oldShowLighting)
            {
                EditorPrefs.SetBool(kDisplayLightingKey, m_Lighting.showSettings);
            }
            if (m_Lighting.showChartingSettings != oldShowCharting)
            {
                SessionState.SetBool(kDisplayChartingKey, m_Lighting.showChartingSettings);
            }
            if (m_Lighting.showLightmapSettings != oldShowLightmap)
            {
                SessionState.SetBool(kDisplayLightmapKey, m_Lighting.showLightmapSettings);
            }
        }
        private void LightingFieldsGUI()
        {
            bool oldShowLighting = m_Lighting.showSettings;

            if (m_Lighting.Begin())
            {
                RenderProbeFields();
                m_Lighting.RenderMeshSettings(false);
            }
            m_Lighting.End();

            if (m_Lighting.showSettings != oldShowLighting)
            {
                EditorPrefs.SetBool(kDisplayLightingKey, m_Lighting.showSettings);
            }
        }