Profile PictureFM3D tutorials

UNITY TUTORIAL - AudioSource in Update: play sounds without overlaps tutorial

$0+
0 ratings

Text version of a videotutorial published on my Youtube channel.

Subscribe to my channel & turn on notifications to get updates on new videos!

The PDF is free; feel free to share it!


In this tutorial, I will show you how to play an audio file in Unity and, more importantly, how I resolved an issue related to overlapping audio playback from an Audio Source. Before we proceed, please note that the solution presented in the video is the one I personally adopted for this problem, but there are likely other (and potentially better) solutions out there; so, do not regard the information provided here as the definitive approach!

The tutorial was created using the 2022 version of Unity.

Specifically, I want to play a footsteps audio file (sourced from the first Prince of Persia game by Jordan Mechner, which was my initial PC gaming experience) when the character moves within the scene. This may seem like a straightforward task, but as we will discover, it conceals a minor challenge...

$
Add to cart

Free PDF - Feel free to share it!

Size
1.13 MB
Copy product URL
$0+

UNITY TUTORIAL - AudioSource in Update: play sounds without overlaps tutorial

0 ratings
Add to cart