MENU

Fun & Interesting

Optimize Game Sounds: Pooling Audio Sources in Unity

git-amend 11,085 11 months ago
Video Not Working? Fix It Now

Take control of the sounds in your game by pooling your Audio Sources! Reduce the number of real voices required to play a multitude of audio clips, manage their lifecycle, and enhance performance. Learn how to streamline your audio management and make your game sound fantastic with efficient audio source pooling! Check the repository for improvements based on community suggestions! Great article by John French for more Pro Audio Tips: https://gamedevbeginner.com/unity-audio-optimisation-tips/#voice_limits Want to support me? 😀 Buy me a coffee! https://ko-fi.com/adammyhre 🔔 Subscribe for more Unity Tutorials https://youtube.com/@git-amend Discord: https://discord.gg/FDRZGQBBUC #unity3d #gamedev #indiedev ▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬ 0:00 Audio Pooling 2:00 Sound Manager 6:15 Sound Emitter 9:56 Sound Builder 14:40 Optimization *Source code:* https://github.com/adammyhre/Unity-Audio-Pooling More Useful Code: https://github.com/adammyhre?tab=repositories Unity Utility Library: https://github.com/adammyhre/Unity-Utils Lock Inspector Hotkey: https://gist.github.com/adammyhre/4754f731a93bf1cab0d1385ccfa23642 Assets Shown In This Video (Affiliate Links) Kyeoms VFX: https://assetstore.unity.com/publishers/52756?aid=1101lw3sv David Dumais Sci-Fi Weapons Pack 1: https://assetstore.unity.com/packages/audio/sound-fx/weapons/sci-fi-weapons-pack-1-218039?aid=1101lw3sv Hierarchy Icons: https://assetstore.unity.com/packages/tools/utilities/better-hierarchy-272963?aid=1101lw3sv Editor Console Pro: https://assetstore.unity.com/packages/tools/utilities/editor-console-pro-11889?aid=1101lw3sv Better Transform: https://assetstore.unity.com/packages/tools/utilities/better-transform-size-notes-global-local-workspace-child-parent--276554?aid=1101lw3sv Better Mesh Filter: https://assetstore.unity.com/packages/tools/utilities/better-mesh-filter-266489?aid=1101lw3sv *Follow me!* https://linktr.ee/gitamend

Comment