public void OnEnable() { m_BakeSettings = new LightingWindowBakeSettings(); m_BakeSettings.OnEnable(); m_ShowWorkflowSettings = new SavedBool("LightingWindow.ShowWorkflowSettings", true); m_ShowProbeDebugSettings = new SavedBool("LightingWindow.ShowProbeDebugSettings", false); }
public void OnEnable() { m_BakeSettings = new LightingWindowBakeSettings(); m_BakeSettings.OnEnable(); m_ShowOtherSettings = SessionState.GetBool(kShowOtherSettings, true); m_ShowDebugSettings = SessionState.GetBool(kShowDebugSettings, false); m_ShouldUpdateStatistics = SessionState.GetBool(kUpdateStatistics, false); }
public void OnEnable() { m_BakeSettings = new LightingWindowBakeSettings(); m_BakeSettings.OnEnable(); InitLightmapSettings(); m_ShowOtherSettings = SessionState.GetBool(kShowOtherSettings, true); m_ShowDebugSettings = SessionState.GetBool(kShowDebugSettings, false); }
public void OnEnable() { m_BakeSettings = new LightingWindowBakeSettings(); m_BakeSettings.OnEnable(); InitLightmapSettings(); m_ShowOtherSettings = new SavedBool("LightingWindow.ShowOtherSettings", true); m_ShowDebugSettings = new SavedBool("LightingWindow.ShowDebugSettings", false); m_ShowProbeDebugSettings = new SavedBool("LightingWindow.ShowProbeDebugSettings", false); }
public void OnEnable() { m_BakeSettings = new LightingWindowBakeSettings(); m_BakeSettings.OnEnable(); m_ShowWorkflowSettings = new SavedBool("LightingWindow.ShowWorkflowSettings", true); m_ShowProbeDebugSettings = new SavedBool("LightingWindow.ShowProbeDebugSettings", false); string configDeviceAndPlatform = EditorUserSettings.GetConfigValue("lightmappingDeviceAndPlatform"); if (configDeviceAndPlatform != null) { m_LightmapDeviceAndPlatform = Int32.Parse(configDeviceAndPlatform); } else { EditorUserSettings.SetConfigValue("lightmappingDeviceAndPlatform", "0"); } }