private void OnChangeAmbient(ChangeBackgroundSignal signal) { _currentAmbientIndex++; if (_currentAmbientIndex < _ambientSounds.Count) { _ambientSource.clip = _ambientSounds[_currentAmbientIndex]; _ambientSource.Play(); } }
private void ChangeBackground(ChangeBackgroundSignal signal) { StartCoroutine(ChangeBackgroundCoroutine()); }