Jukebox.Start C# (CSharp) 메소드

Start() 개인적인 메소드

private Start ( ) : void
리턴 void
    void Start()
    {
        jukebox = gameObject.GetComponent<AudioSource> ();
        trackNo = PlayerPrefs.GetInt ("track");

        if(trackNo == 0) trackName = "Cowboy";
        else if(trackNo == 1) trackName = "8-Bit";

        diff = jukebox.clip;

        player = GameObject.Find("Player");
    }