BETTER Sound Effects! Unity Scriptable Objects Tutorial
Вставка
- Опубліковано 17 лип 2024
- Organize, vary, and control your sound effects better using Scriptable Objects!
Learn how to create a scriptable object for your sound effect that provides tons of flexibility such as handling multiple sound effect clips, varying and controlling the volume and pitch, as well as give you the ability to adjust the playing order and preview the results right in the editor as you configure it!
on top of that, since it's a scriptable object, you can edit the configuration as the game is running - stop the game, and your changes will be still be saved, unlike with monobehaviours 🙌
Please like & subscribe if this tutorial helped you!
Let us know if there are other topics you'd like for me to cover down in the comments section!
_LINKS:_
- Odin Editor & Serializer:
assetstore.unity.com/packages...
- SoundEffectSO Source: gist.github.com/baruchadi/3c2...
_🎵Music in this video🎵_
Anno Domini Beats -Sunny days ( • Video )
Context Sensitive - Contemplation ( • SYNTHWAVE ♫ Contemplation )
Context Sensitive - Portlight
/ @contextsensitive
contextsensitive.bandcamp.com/
=====================
Discord: drowsyfox.com/community
Twitter: / drowsyfoxgames
Instagram: / drowsyfoxgames
Facebook: / drowsyfoxgames
✉️ Subscribe to our newsletter: DrowsyFox.com
🎮 Become a beta tester today!
drowsyfox.com/join-beta
🚀 Break Orbit is a vertical Endless Runner, with some new mechanics!
Press and hold when inside a planets orbit to attach to its gravity, release to break away from the planets orbit and move in the direction your were facing. Collect coins and gems to unlock new skins and equipments to customize your character! Make it to the top and explore multiple colorful and beautiful game environments!
🦊 DrowsyFox™ is an indie game studio consisting of a small team of people who are passionate about creating meaningful and thrilling experiences through casual gaming.
Subscribe to our channel for Dev Vlogs, Tutorials, and more!
Disclosure: This post may contain affiliate links, which means we may receive a commission if you click a link and purchase something that we have recommended. While clicking these links won't cost you any money, they will help us fund this channel & future projects!
#unity #tutorial #gamedev
I have to say, you saved me 2~3 days of applying scriptable object sounds with Odin.
This underrated golden video must be shared!
Also Thank You for the source.🌹
Very nice video ! Glad to see Odin being used !
Nice video packed with content. I need to rewatch it some day and actually do what you do on my computer to check it in practice. It may be useful for current or next projects. Good luck with the channel and your game! 👍
Thank you! & good luck on your projects! Check out the description of course if you want the source 🙌🦊
I really like how short and straight to the point your tutorials are :D
Thank you! Glad you enjoy them! 🙏🦊
Finally a hi-level and reliable coding channel for Unity. Well done man. Suscribed.
Damn, I was just trying to use sound effects on my last project before giving up on it. Never thought to use ScriptableObjects for sounds. This is great!
Glad you found this interesting! Check out the link in the description if you just want the source to kickstart your next project with it 😉
This is the most underrated Unity channel I have seen so far.
Absolutely love the professional digestible code you've provided.
Excellent work!!
You are too kind 🙏 thank you and hope you enjoy the videos to come! 🦊
Nice tuto. How could I use that on specific material? I mean like my character walk on different kind of ground and the sound change if they walk on wood plank or metal sheets.
To keep it short, I’d make a scriptable object per each kind of ground like steps_wood steps_metal and then attach these to the respective ground - then when a player steps over it and is in active moment, play the sound on loop and stop the sound when the player isn’t on that ground, or not actively moving
Good luck! 🙌🦊
@@DrowsyFoxDev I'm a bit new to that, but I'll try to figure it out.
@@FyresGames feel free to join the discord and ask for help! I’ll do my best to help out, link in the description 🙌 I might make a tutorial in the future if time permits/there Is demand 😛
Every single time you cut your audio in the video there is an audible "click"
oh wow, I didn't notice it until now that's odd, thanks for pointing it out! it's sort of like a weird pop, I'll pay more attention to it for the next videos!
@@DrowsyFoxDev if you cut audio on a value other than zero it will usually cause a pop. You can either fix with crossfades or some editors have a 'snap to zero crossing'!
Thanks for the video BTW awesome workflow!
at 5:44 you misspelled SFX lol
in the chapters
😳I don’t think I wrote any chapters, but I see the one you are talking about 😶