private void Start() { if (SoundController.PlayingSounds && SetsHelper.AtLevel) { SetsHelper.AtLevel = false; _backgroundMusic.SetBackgroundMusic(); _backgroundMusic.SwitchMusic((int)BackgroundMusic.State.On); } }
private void Start() { if (SoundController.PlayingSounds && ChoiceSets.AtLevel) { ChoiceSets.AtLevel = false; // Устанавливаем фоновую музыку и запускаем _backgroundMusic.SetBackgroundMusic(); _backgroundMusic.SwitchMusic((int)BackgroundMusic.State.On); } }