Пример #1
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();
 }