Sound keeps playing

so following the same principle in the video i added in my script a spot for both wind and sliding SFX, the code is exactly the same and does work kinda but the sound for both of those plays non stop after triggered, anyway to stop this? :face_with_monocle: my original two SFX dont play non stop like the other two just curious what might be causing this? maybe the length of the actual sound file?

Hi trendle,

Without knowing anything about your project and what you did there, it is difficult to help you with this problem. If sound does not stop playing and if the issue is not the code, my best guess is that ‘Loop’ might be enabled in the AudioSource component in the Unity Editor.

See also:

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms