void ResetLightingSettings(object userData, string[] options, int selected) { if (Lightmapping.lightingSettingsInternal != null) { Undo.RecordObjects(new[] { Lightmapping.lightingSettingsInternal }, "Reset Lighting Settings"); Unsupported.SmartReset(Lightmapping.lightingSettingsInternal); } }
void ResetSettings(object userData, string[] options, int selected) { Undo.RecordObjects(new[] { RenderSettings.GetRenderSettings(), LightmapEditorSettings.GetLightmapSettings() }, "Reset Lighting Settings"); Unsupported.SmartReset(RenderSettings.GetRenderSettings()); Unsupported.SmartReset(LightmapEditorSettings.GetLightmapSettings()); }
void ResetBakeSettings() { Unsupported.SmartReset(EditorNavMeshBuilder.navMeshSettingsObject); }
void ResetEnvironmentSettings(object userData, string[] options, int selected) { Undo.RecordObjects(new[] { RenderSettings.GetRenderSettings() }, "Reset Environment Settings"); Unsupported.SmartReset(RenderSettings.GetRenderSettings()); }