示例#1
0
 // Update is called once per frame
 void Update()
 {
     if (!initialized)
     {
         return;
     }
     //if (!playing && queue.Count > 0)
     //{
     //    StartPlaying();
     //}
     stateManager.GetComponent <AudioSource>().enabled = !playing;
 }