private void Start() { _musicManager = FindObjectOfType <BackgroundMusicManagerBehaviour> ().GetComponent <BackgroundMusicManagerBehaviour> (); _audioSrc = GetComponent <AudioSource> (); _audioSrc.spatialBlend = 0f; _audioSrc.minDistance = 0.8f; _audioSrc.maxDistance = 1f; }
void Start() { _musicManager = FindObjectOfType <BackgroundMusicManagerBehaviour> ().GetComponent <BackgroundMusicManagerBehaviour> (); UpdateOptionsInformation(); }