Quantcast
Viewing latest article 14
Browse Latest Browse All 56

Answer by Dreamblur

Play the sound in the same method that spawns the player. So assuming that there's an AudioSource attached to the game object where the respawn script is attached, just call: audio.Play(); right after the character respawns. I don't know why you have Transform there, but it shouldn't be there.

Viewing latest article 14
Browse Latest Browse All 56

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>