Ejemplo n.º 1
0
        public void ReloadConfigs()
        {
            switch (m_lastCategory)
            {
            case ECategory.GAME:
                ConfigManager.Instance.ReloadGameOptions();
                break;

            case ECategory.INPUT:
                KeyConfigManager.ReloadConfigurations();
                break;

            case ECategory.GRAPHICS:
                GraphicsConfigManager.ReloadConfigurations();
                GraphicsConfigManager.ApplyBrightnessOrGamma();
                break;

            case ECategory.SOUND:
                SoundConfigManager.ReloadConfigurations();
                break;
            }
        }