private void Awake() { toggleSounds = this; sfxSource = toggleSounds.GetComponent <AudioSource> (); isBGM = true; isSFX = true; }
void Start() { ambience = GameObject.FindGameObjectWithTag("AmbientSound").GetComponent<ToggleSounds>(); }