public void SetVictoryMusic(int index) { paudio.SetWinMusic(music[index], index); terminalAudioSource.clip = paudio.WinMusic; if (terminalAudioSource.isPlaying) { terminalAudioSource.Stop(); } }
public void SetVictoryMusic(int index) { paudio.SetWinMusic(music[index], index); terminalAudioSource.clip = paudio.WinMusic; if (terminalAudioSource.isPlaying) { terminalAudioSource.Stop(); } }