public void ApplyScreenSettings(ScreenOrientationSettings screenSettings) { Screen.autorotateToLandscapeLeft = screenSettings.RotateToLandscapeLeft; Screen.autorotateToLandscapeRight = screenSettings.RotateToLandscapeRight; Screen.autorotateToPortrait = screenSettings.RotateToPortraitUp; Screen.autorotateToPortraitUpsideDown = screenSettings.RotateToPortraitDown; }
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(); }
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()); }
public void SetScreenOrientationSettings(ScreenOrientationSettings settings) { GameOrientationSettings = settings; }