private void LoadDataFromSaveFile(object[] arg0)
        {
            //Graphics Settings
            resolution = CustomSerializableObjects.Vector2FromString(SaveController.Instance.ReadData(SaveTypes.Graphics, SaveTypes.Resolution));
            currentSettingsModel.aspectRatio          = CustomSerializableObjects.Vector2FromString(SaveController.Instance.ReadData(SaveTypes.Graphics, SaveTypes.AspectRatio)).ToString();
            currentSettingsModel.fullscreen           = CustomSerializableObjects.ToBoolean(SaveController.Instance.ReadData(SaveTypes.Graphics, SaveTypes.Fullscreen));
            currentSettingsModel.vSync                = CustomSerializableObjects.ToBoolean(SaveController.Instance.ReadData(SaveTypes.Graphics, SaveTypes.Vsync));
            currentSettingsModel.preset               = Int32.Parse(SaveController.Instance.ReadData(SaveTypes.Graphics, SaveTypes.Preset));
            currentSettingsModel.textureQuality       = Int32.Parse(SaveController.Instance.ReadData(SaveTypes.Graphics, SaveTypes.TextureQuality));
            currentSettingsModel.shadowQuality        = Int32.Parse(SaveController.Instance.ReadData(SaveTypes.Graphics, SaveTypes.ShadowQuality));
            currentSettingsModel.AA                   = Int32.Parse(SaveController.Instance.ReadData(SaveTypes.Graphics, SaveTypes.AntiAliasing));
            currentSettingsModel.anisotropicFiltering = CustomSerializableObjects.ToBoolean(SaveController.Instance.ReadData(SaveTypes.Graphics, SaveTypes.AnisotropicFiltering));
            currentSettingsModel.FOV                  = int.Parse(SaveController.Instance.ReadData(SaveTypes.Graphics, SaveTypes.FieldOfView));

            //Audio Settings
            currentSettingsModel.musicVolume = float.Parse(SaveController.Instance.ReadData(SaveTypes.Audio, SaveTypes.MusicVolume));
            currentSettingsModel.sfxVolume   = float.Parse(SaveController.Instance.ReadData(SaveTypes.Audio, SaveTypes.SoundEffectVolume));

            //Gameplay Settings
            currentSettingsModel.mouseSensitivity      = float.Parse(SaveController.Instance.ReadData(SaveTypes.Gameplay, SaveTypes.MouseSensitivity));
            currentSettingsModel.controllerSensitivity = float.Parse(SaveController.Instance.ReadData(SaveTypes.Gameplay, SaveTypes.ControllerSensitivity));
            currentSettingsModel.mouseYInverted        = CustomSerializableObjects.ToBoolean(SaveController.Instance.ReadData(SaveTypes.Gameplay, SaveTypes.MouseYInverted));
            currentSettingsModel.controllerYInverted   = CustomSerializableObjects.ToBoolean(SaveController.Instance.ReadData(SaveTypes.Gameplay, SaveTypes.ControllerYInverted));
            currentSettingsModel.mouseSmoothing        = CustomSerializableObjects.ToBoolean(SaveController.Instance.ReadData(SaveTypes.Gameplay, SaveTypes.MouseSmoothing));
            currentSettingsModel.toggleCrouch          = CustomSerializableObjects.ToBoolean(SaveController.Instance.ReadData(SaveTypes.Gameplay, SaveTypes.ToggleCrouch));

            EventManager.TriggerEvent(GameDataEventTypes.GAME_DATA_READY);
        }
 private void LoadDefaultGraphicsSettings(object[] arg0)
 {
     Resolution     = new Vector2(Screen.currentResolution.width, Screen.currentResolution.height);
     AspectRatio    = CustomSerializableObjects.Vector2FromString(defaultSettingsModel.aspectRatio);
     Fullscreen     = defaultSettingsModel.fullscreen;
     VSync          = defaultSettingsModel.vSync;
     Preset         = defaultSettingsModel.preset;
     TextureQuality = defaultSettingsModel.textureQuality;
     ShadowQuality  = defaultSettingsModel.shadowQuality;
     AA             = defaultSettingsModel.AA;
     FOV            = defaultSettingsModel.FOV;
 }