SmartReset() private method

private SmartReset ( Object obj ) : void
obj Object
return void
Example #1
0
 void ResetLightingSettings(object userData, string[] options, int selected)
 {
     if (Lightmapping.lightingSettingsInternal != null)
     {
         Undo.RecordObjects(new[] { Lightmapping.lightingSettingsInternal }, "Reset Lighting Settings");
         Unsupported.SmartReset(Lightmapping.lightingSettingsInternal);
     }
 }
Example #2
0
 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());
 }
Example #3
0
 void ResetBakeSettings()
 {
     Unsupported.SmartReset(EditorNavMeshBuilder.navMeshSettingsObject);
 }
Example #4
0
 void ResetEnvironmentSettings(object userData, string[] options, int selected)
 {
     Undo.RecordObjects(new[] { RenderSettings.GetRenderSettings() }, "Reset Environment Settings");
     Unsupported.SmartReset(RenderSettings.GetRenderSettings());
 }