public void SaveSettings(GameObject panelSettings) { SaveSome.SetParametr(PrefsSave.VolumeSing, _volumeSingBar.value); SaveSome.SetParametr(PrefsSave.VolumeEffects, _volumeEffects.value); ChangeVolume(); print(SaveSome.GetParameter(PrefsSave.VolumeEffects, 0)); IsActiveMenuElements(panelSettings, false, true); }
private void UpdateLVLPlayer() { Buffer.BuffSome(PrefsSave.AllCubesDeleteInfo, 10); _progressBarLVLPlayer = SaveSome.GetParameter(PrefsSave.LVLPlayerBar, _progressBarLVLPlayer); if (_progressBarLVLPlayer >= _maxProgressLVLPlayer) { Buffer.BuffSome(PrefsSave.LVLPlayer); Buffer.BuffSome(PrefsSave.SpeedFigure, _speedPlus); _progressBarLVLPlayer = 0; // _animatorNext.StartAnimation(SaveSome.GetParameter(PrefsSave.LVLPlayer, 0)); } _progressBarLVLPlayer += _scorePlusLVLPlayer; SaveSome.SetParametr(PrefsSave.LVLPlayerBar, _progressBarLVLPlayer); }