Categories
Game Creation Mastering Development

How do I play a sound after a given time is over?

I have a sound effect in my game that I want to play every time there is a collision detected, the problem is that the collisions are very frequent and the sound plays many times and gets overlapped, which doesn’t sound good. The code is simple enough, I just put a walkSound.Play() in the OnCollisionEnter […]