/// <summary>
 /// Copy constructor
 /// </summary>
 /// <param name="copy"></param>
 public EngineOptions(EngineOptions copy)
 {
     this.FullScreen = copy.FullScreen;
     this.Vsync = copy.Vsync;
     this.Width = copy.Width;
     this.Height = copy.Height;
     this.PlayMusic = copy.PlayMusic;
     this.MusicVolume = copy.MusicVolume;
     this.PlaySfx = copy.PlaySfx;
     this.Antialias = copy.Antialias;
     this.SSAO = copy.SSAO;
     this.MotionBlur = copy.MotionBlur;
     this.Shadow = copy.Shadow;
     this.Vignette = copy.Vignette;
     this.UseDiskAccess = copy.UseDiskAccess;
 }
Exemple #2
0
 public App()
 {
     // initialize UnityEngine from Options
     Options = new EngineOptions();
     Command.Register(typeof(ApplyOptionsCmd), OnApplyOptions);
 }