コード例 #1
0
 public void ReadSetting()
 {
     SystemConfig.IsGuideSystemOn = PlayerPrefsExt.GetBool("IsGuideOnName", SysConfigID.GetBool(11));
     SystemConfig.IsPostProcessOn = PlayerPrefsExt.GetBool("IsPostProcessOnName", SystemConfig.IsPostProcessOn);
     SystemConfig.PP_MotionBlurOn = PlayerPrefsExt.GetBool("PP_MotionBlurOnName", SystemConfig.PP_MotionBlurOn);
     SystemConfig.PP_BloomOn      = PlayerPrefsExt.GetBool("PP_BloomOnName", SystemConfig.PP_BloomOn);
     SettingManager.ReadResolution();
     GameLevelManager.GameLevelVariable.PeopleNum = PlayerPrefs.GetInt("PeopleNumName", 45);
     SettingManager.ReadLOD();
     SystemConfig.IsMusicOn    = PlayerPrefsExt.GetBool("IsMusicOnName", SystemConfig.IsMusicOn);
     SystemConfig.IsSoundOn    = PlayerPrefsExt.GetBool("IsMusicOnName", SystemConfig.IsMusicOn);
     SystemConfig.IsHeadInfoOn = PlayerPrefsExt.GetBool("IsHeadInfoOnName", SystemConfig.IsHeadInfoOn);
     SystemConfig.IsManNumOn   = PlayerPrefsExt.GetBool("IsManNumOnName", SystemConfig.IsManNumOn);
 }
コード例 #2
0
        public static int GetDefault()
        {
            int @int = SysConfigID.GetInt(16);

            if (@int == 1)
            {
                return(200);
            }
            if (@int == 2)
            {
                return(250);
            }
            if (@int == 3)
            {
                return(300);
            }
            return(200);
        }
コード例 #3
0
 public static void Init()
 {
     SystemConfig.LogSetting(SysConfigID.GetBool(1));
     SystemConfig.IsTargetFrameRateOn = SysConfigID.GetBool(2);
     SystemConfig.IsDebugInfoOn       = SysConfigID.GetBool(3);
     SystemConfig.IsDebugPing         = SysConfigID.GetBool(4);
     QualitySettings.set_antiAliasing(SysConfigID.GetInt(5));
     SystemConfig.IsPostProcessOn                = SysConfigID.GetBool(6);
     SystemConfig.IsSelfSyncPointFlagOn          = SysConfigID.GetBool(7);
     SystemConfig.IsPetAndMonsterSyncPointFlagOn = SysConfigID.GetBool(8);
     SystemConfig.IsShowMonsterDir               = SysConfigID.GetBool(9);
     SystemConfig.IsReleaseResourceOn            = SystemConfig.CheckIsReleaseResourceOn(SysConfigID.GetInt(10));
     SystemConfig.IsBattleGMOn = SysConfigID.GetBool(12);
     SystemConfig.IsSetHardwareResolutionOn = SysConfigID.GetBool(13);
     SystemConfig.PP_MotionBlurOn           = SysConfigID.GetBool(14);
     SystemConfig.PP_BloomOn    = SysConfigID.GetBool(15);
     SystemConfig.IsVoiceTalkOn = SysConfigID.GetBool(17);
     SettingManager.Instance.ReadSetting();
 }
コード例 #4
0
 public static bool GetBool(int id)
 {
     return(SysConfigID.GetInt(id) != 0);
 }