SmartReset() private method

private SmartReset ( Object obj ) : void
obj Object
return void
示例#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);
     }
 }
示例#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());
 }
示例#3
0
 void ResetBakeSettings()
 {
     Unsupported.SmartReset(EditorNavMeshBuilder.navMeshSettingsObject);
 }
示例#4
0
 void ResetEnvironmentSettings(object userData, string[] options, int selected)
 {
     Undo.RecordObjects(new[] { RenderSettings.GetRenderSettings() }, "Reset Environment Settings");
     Unsupported.SmartReset(RenderSettings.GetRenderSettings());
 }