예제 #1
0
 void SavePresetSettings()
 {
     m_SelectedPreset.CopySettingsFrom(m_Settings);
     m_SelectedPreset.CopyUISettingsFrom(m_Settings);
     AssetDatabase.SaveAssets();
     AssetDatabase.Refresh();
 }
예제 #2
0
 void ResetToDefaultSettings()
 {
     // Copy everything to our current settings.
     // Since UI settings are not copied, they remain unchanged.
     m_Settings.CopySettingsFrom(m_DefaultSettings);
 }