Calling to play audio through code is the best way to use all the assets features. While the inspector setups provide quick solutions for simple tasks, you’ll often need more advanced control. Below are some examples of how to use the assets API to play audio. See #️⃣ Scripting for more information of the exact API available.


How to play an audio clip

How to play a group

How to use a mixer group

How to play a track list