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());
 }