protected override void HandleValidClick() { base.HandleValidClick(); GamePlayOptionSettings settings = new GamePlayOptionSettings() { IsCameraRollEnabled = _isCameraRollEnabled, IsZoomOutOnCursorEnabled = _isZoomOutOnCursorEnabled, IsResetOnFocusEnabled = _isResetOnFocusEnabled, IsPauseOnLoadEnabled = _isPauseOnLoadEnabled, GameSpeedOnLoad = _gameSpeedOnLoad }; _playerPrefsMgr.RecordGamePlayOptions(settings); }
public GamePlayOptionsAcceptedEvent(object source, GamePlayOptionSettings settings) : base(source) { Settings = settings; }