Beispiel #1
0
 internal void Remove(SoundAudio audio)
 {
     AudioList.Remove(audio);
     if (this.Group.AutoDestoryPlayer && AudioList.Count == 0)
     {
         GameObject.Destroy(this.gameObject);
     }
 }