Jukebox.prevTrack C# (CSharp) 메소드

prevTrack() 공개 메소드

public prevTrack ( ) : void
리턴 void
    public void prevTrack()
    {
        if (trackNo == 0) PlayerPrefs.SetInt ("track", 1);
        else PlayerPrefs.SetInt ("track", (PlayerPrefs.GetInt ("track") - 1));
        trackNo = PlayerPrefs.GetInt ("track");
        menuSwap = true;
    }