UNITY 2020 ADVANCED AUDIO MANAGER, Game Essentials (3/5)

Опубликовано: 06 Октябрь 2024
на канале: Renaissance Coders
23,143
590

⭐ Kite is a free AI-powered coding assistant that will help you code faster and smarter. The Kite plugin integrates with all the top editors and IDEs to give you smart completions and documentation while you’re typing. I've been using Kite for 6 months and I love it! https://www.kite.com/get-kite/?utm_me...
Use Unity 2020 and C# to code up an advanced audio manager with Darren. In this tutorial, you will learn how to define custom data structures to manage your audio, soundtracks, and sound effects (SFX). Your system will create and manage audio tracks while integrating Unity's existing AudioSource and AudioClip objects. Your audio system will expose 3 public functions: 

1. PlayAudio(AudioType)
2. StopAudio(AudioType)
3. RestartAudio(AudioType)

As a bonus, you will learn how to manipulate your audio more concisely using coroutines by splitting your API requests into specific job functions that allow for audio delays and volume fading.

Unity Audio Source: https://docs.unity3d.com/ScriptRefere...
Unity Audio Clip: https://docs.unity3d.com/ScriptRefere...

Download your own testing audio for free!

https://www.newgrounds.com/audio/
https://freesound.org/
https://archive.org/details/opensourc...
https://soundcloud.com/


#unity3d #audio #gamedev