示例#1
0
 public DataMap RegisterDefaultData(DataMap _DataMap)
 {
     Debug.Log("Resetting Data");
     _DataMap.Clear();
     _DataMap.RegisterData("SensitivityX", 4f);
     _DataMap.RegisterData("SensitivityY", 4f);
     _DataMap.RegisterData("InvertPitch", true);
     return _DataMap;
 }
示例#2
0
    public DataMap RegisterDefaultData(DataMap _DataMap)
    {
        //Debug.Log("Resetting Data");
        _DataMap.Clear();
        //Gameplay
        _DataMap.RegisterData("MouseMode", true);

        //Video
        _DataMap.RegisterData("VSync", false);
        _DataMap.RegisterData("PixelLights", 2);
        _DataMap.RegisterData("Tex_Quality", 0);
        _DataMap.RegisterData("Res_Width", Screen.width);
        _DataMap.RegisterData("Res_Height", Screen.height);
        _DataMap.RegisterData("Res_Refresh", Screen.currentResolution.refreshRate);
        _DataMap.RegisterData("Anti_Aliasing", QualitySettings.antiAliasing);
        _DataMap.RegisterData("Aniso_Filtering", false);
        _DataMap.RegisterData("Fullscreen", false);

        //Audio
        _DataMap.RegisterData("SFX_Vol", 100f);
        _DataMap.RegisterData("BGM_Vol", 100f);
        _DataMap.RegisterData("Master_Vol", 100f);
        return(_DataMap);
    }