Exemplo n.º 1
0
 private void OpenProjectSettings()
 {
     ProjectSettingsForm settingsForm = new ProjectSettingsForm();
     settingsForm.NativeResolution = SceneManager.GlobalDataHolder.NativeResolution;
     if (settingsForm.ShowDialog() == DialogResult.OK)
     {
         SceneManager.GlobalDataHolder.NativeResolution = settingsForm.NativeResolution;
     }
 }
Exemplo n.º 2
0
 private void OpenProjectSettings()
 {
     ProjectSettingsForm settingsForm = new ProjectSettingsForm();
     settingsForm.NativeResolution = SceneManager.GlobalDataHolder.NativeResolution;
     settingsForm.AutoSignIntoLive = SceneManager.GlobalDataHolder.AutoSignIntoLive;
     settingsForm.ContentFolderPath = SceneManager.GlobalDataHolder.ContentFolderPath;
     if (settingsForm.ShowDialog() == DialogResult.OK)
     {
         SceneManager.GlobalDataHolder.NativeResolution = settingsForm.NativeResolution;
         SceneManager.GlobalDataHolder.AutoSignIntoLive = settingsForm.AutoSignIntoLive;
         this.ProjectWasModified = true;
         RefreshEditorStatus();
     }
 }