Prevent sound to stop being played when destroyed? [C++]
I have created a coin class that when being overlapped plays a coin sound using a UAudioComponent and then is destroyed.
The problem is that since the coin is destroyed the coin sound can't be played. So I was wondering if there is any easy/smart way for the coin sound to finish playing even if the object is destroyed?
Any help is appreciated, thanks!
Using UGameplayStatics::PlaySound2D solved this
answered Nov 24 '16 at 07:52 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here