예제 #1
0
 public static void ApplyPersonalContrastDelta()
 {
     if (Singleton <MiHoYoGameData> .Instance != null)
     {
         GraphicsSettingUtil.SetPostFXContrast(Singleton <MiHoYoGameData> .Instance.GeneralLocalData.PersonalGraphicsSetting.ContrastDelta);
     }
 }
예제 #2
0
 public void OnContrastDeltaChanged()
 {
     this._contrastDelta = ((this._contrastSlider.value - this._contrastShowMinValue) / 20f) - 1f;
     GraphicsSettingUtil.SetPostFXContrast(this._contrastDelta);
     this.ShowContrast((int)this._contrastSlider.value);
 }