public void ApplyScreenSettings(ScreenOrientationSettings screenSettings)
 {
     Screen.autorotateToLandscapeLeft      = screenSettings.RotateToLandscapeLeft;
     Screen.autorotateToLandscapeRight     = screenSettings.RotateToLandscapeRight;
     Screen.autorotateToPortrait           = screenSettings.RotateToPortraitUp;
     Screen.autorotateToPortraitUpsideDown = screenSettings.RotateToPortraitDown;
 }
示例#2
0
        public void ApplyScreenSettings(ScreenOrientationSettings settings)
        {
            Screen.autorotateToLandscapeLeft      = settings.RotateToLandscapeLeft;
            Screen.autorotateToLandscapeRight     = settings.RotateToLandscapeRight;
            Screen.autorotateToPortrait           = settings.RotateToPortraitUp;
            Screen.autorotateToPortraitUpsideDown = settings.RotateToPortraitDown;

            Model.SetScreenOrientationSettings(settings);
            Model.SetChanges();
        }
示例#3
0
 private void ApplyScreenSettings()
 {
     Controller.ApplyScreenSettings(ScreenOrientationSettings.GetMarketSettings());
 }
 public void SaveGameSettings(ScreenOrientationSettings gameSettings)
 {
     Model.SetGameScreenSettings(gameSettings);
     Model.SetChanges();
 }
 private void ApplyScreenSettings()
 {
     Controller.SaveGameSettings(ScreenOrientationSettings.GetGameOrientationSettings());
     Controller.ApplyScreenSettings(ScreenOrientationSettings.GetMarketOrientationSettings());
 }
示例#6
0
 public void SetScreenOrientationSettings(ScreenOrientationSettings settings)
 {
     GameOrientationSettings = settings;
 }