Exemplo n.º 1
0
 private void FinishSoundPlayer(SoundPlayer soundPlayer)
 {
     SoundPlayers.Remove(soundPlayer.gameObject);
     Destroy(soundPlayer.gameObject);
     soundPlayer.soundNode.Done();
 }
Exemplo n.º 2
0
 void soundPlayer_DonePlaying(SoundPlayer soundPlayer)
 {
     FinishSoundPlayer(soundPlayer);
 }