public void StopSong() { src.Stop(); src.clip = null; currentSong = null; spinner.RemoveTape(); PlayClip(ejectTapeSound); }
public void SelectCurrent() { currentSong = availableSongs[selectionIndex]; src.clip = currentSong.audioFile; Debug.Log("Equipped " + src.clip.name); PlayClip(selectTapeSound); spinner.SetTape(CassetteShelf.Instance.GetTex(selectionIndex)); src.Play(); }
public void LoadSong(ScriptableSong newSong) { }