Exemplo n.º 1
0
 public void StopSong()
 {
     src.Stop();
     src.clip    = null;
     currentSong = null;
     spinner.RemoveTape();
     PlayClip(ejectTapeSound);
 }
Exemplo n.º 2
0
    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();
    }
Exemplo n.º 3
0
 public void LoadSong(ScriptableSong newSong)
 {
 }