Sound Managers are crucial when using audio sources in Unity. It really helps to organise your sound events in a structured way!
Github Code: https://github.com/SmallHedge/SoundManager
**LIGHT FLICKER ULTIMATE** https://assetstore.unity.com/packages/tools/particles-effects/light-flicker-ultimate-268609
Assets Showcased:
LIGHT FLICKER: https://assetstore.unity.com/packages/tools/particles-effects/light-flicker-ultimate-268609
BACKGROUND: https://assetstore.unity.com/packages/2d/textures-materials/nature/free-pixel-art-hill-133118
WIZARD: https://assetstore.unity.com/packages/2d/characters/evil-wizard-168007
PLAYER: https://assetstore.unity.com/packages/2d/characters/martial-hero-170422
SOUND FX: https://assetstore.unity.com/packages/audio/sound-fx/universal-sound-fx-17256
FOOTSTEPS: https://assetstore.unity.com/packages/audio/sound-fx/foley/footsteps-essentials-189879
FULLSCREEN: https://assetstore.unity.com/packages/tools/utilities/fullscreen-editor-69534
Support me :) - https://buymeacoffee.com/smallhedgehq
Website - https://www.smallhedge.com/
My games - https://small-hedge.itch.io
Twitter - https://twitter.com/SmallHedgeHQ
Facebook - https://www.facebook.com/SmallHedgeHQ
Youtube avatar created by OliGalArt, go check her out! https://ko-fi.com/oligalart/commissions
00:00 Intro
00:19 What is a SoundManager?
00:43 Example Scene
00:59 What are we doing today?
01:27 Into Unity
01:35 Light Flicker Ultimate
01:57 CHAPTER 1: FUNCTIONALITY
02:37 Sound Enum
02:59 Getting the Audio Source
03:21 Audio Clips
03:40 PlaySound() Method
04:39 Passing in Audio Clips
05:09 Lets try it out!
05:41 CHAPTER 2: ANIMATOR
06:06 PlaySoundEnter/Exit Scripts
07:10 Lets try it out!
07:36 Adding all the sounds in
07:57 Lets try it out!
08:12 FOOTSTEPS
09:08 CHAPTER 3: INSPECTOR
09:37 Multidimentional Arrays in Inspector
10:58 Renaming Inspector Array Names
11:35 Renaming Array Names in Code
13:47 WOAH ITS MAGIC!
14:09 Adding Sounds
14:18 Updating PlaySound() Method
15:42 WE DONE IT!