Seanharrs / puzzleknight

Puzzle Knight - A Third Person Fantasy Hack&Slash Puzzle Adventure Game
0 stars 1 forks source link

Door pieces won't play sound when collected #48

Closed Seanharrs closed 7 years ago

Seanharrs commented 7 years ago

Current system uses an AudioSource component on the object itself, but that object is disabled when collected so the AudioSource never has a chance to play the sound. Changing it to use AudioSource.PlayClipAtPoint() will resolve this.