Scriptable Objects in 6 minutes! (Unity Tutorial)
Вставка
- Опубліковано 28 сер 2024
- Hit the ground running with Scriptable Objects!
Scriptable Objects are perfect as data containers or modules that can hot-swap into place for a dynamic experience. However, that's not the limit of their power!
Using Scriptable Objects, we can introduce some new Patterns into our codebase, like the Event pattern, or extend and improve an existing one like the singleton pattern.
In this video, we'll check out the basics of Scriptable Objects and use them as editable data containers.
📝 Play around with the tutorial's source code:
github.com/Dro...
🌐 LINKS:
- Odin Editor & Serializer:
assetstore.uni...
🎵Music in this video:
Music by GameChops - gamechops.com
=====================
Discord: drowsyfox.com/...
Twitter: / drowsyfoxgames
Instagram: / drowsyfoxgames
Facebook: / drowsyfoxgames
✉️ Subscribe to our newsletter: DrowsyFox.com
🦊 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!
#Unity3d #ScriptableObjects #gamedev
I love how you make so many interesting points, but honestly, if I was a beginner watching this, I wouldn't understand at all what is going on. I would suggest not being afraid of making 15 to 20 minute videos laying everything out in a way that makes it more understandable for those who need it most - beginners.
Underrated Channel
Count me as signed up
finally, a tutorial that doesn't make me sleep.
Awesome tutorial!!
hope you make part 2
Very clear. Thank you.
I love how you show the changes side-by-side. Very helpful! But one question I hope you can clarify. You mentioned you’d want to avoid creating many different instances of a prefab for all the customizations. But wouldn’t you just need to do this for the SO instead before attaching to the monobehavior? Aren’t you just shifting the responsibility? Thanks!
Excellent video drowsy!
Glad you think so! ❤️🦊
Great video, glad I found your channel :)
Thanks. Not much new information for me, but nice video editing!
tq
May I ask how you are able to automatically apply the values when you change the scriptable object that it currently has?
There is an Odin attribute being used called “OnValueChanged” that monitors the value bellow it and triggers the function given to it once it does
There is a link to Odin in the description, it is a paid plugin - but you can often find it on a sale!
You can check out the source of this project to see what other attributes I’m using, though the rest are just for cosmetic reasons I believe
Cheers!
@@DrowsyFoxDev got it. thanks!!
I love your video!
trying to do inventory just learn what the f this scriptable object :D
Scriptable objects can be super useful for inventory systems! I might make a tutorial about it soon 😉
Slow your speech down a good 10%. Also the only people watching this are noobs. Type out your code on screen. Explain it. This is a common mistake in tutorial videos, with people making videos about topics that are only going to be useful for someone of a certain skill level, but they do not explain the details required for someone of that skill level.