Join Alan Thorn for an in-depth discussion in this video Music and 2D sound, part of Cert Prep: Unity Particle Systems, AI, and Audio.
- [Instructor] In this movie, we're going to see…how to work with audio sources and audio listeners,…and see the distinction between the two.…Effectively, in unity, an audio listener…represents a pair of ears.…It's something that can hear sounds,…and an audio source is instead…something that can make sounds.…So typically, in this scene here,…which I have slightly modified,…I've created a sample player character over here,…which is the capsule, and temporarily,…I've marked that as player.…
But notice that I've attached to this object…an audio listener component,…representing a pair of ears for this character.…I simply added this by selecting the object,…choosing component, and then choosing audio,…and choosing audio listener,…to add an audio listener to this object.…This means that this object here, this character,…is the kind of thing that can hear sounds in the level.…Now, in addition to this, to be able to hear sounds,…we're going to need something that can make sounds.…And in this case, I want to play a music track.…
This course is part of our Unity cert prep series, focusing on exam objectives related to particle systems, artificial intelligence (AI), navigation and pathfinding systems, and audio. Instructor Alan Thorn teaches you how to control particle emitters, including particle life and size. He explains how to use navigation meshes to control obstacle avoidance, create compelling NPCs by setting up and triggering animation states, and add music and sounds effects to your 2D and 3D games.
Find out more about Unity Certified Developer exam at https://certification.unity.com/.
- Shaping and controlling particle emitters
- Adjusting particle life and size
- Moving objects
- Working with navigation meshes
- Starting and completing idle states
- Starting chase and attack states
- Adding music and 2D and 3D sound