How to Use Odin Inspector with Scriptable Objects?
HTML-код
- Опубликовано: 30 июл 2024
- Odin Inspector and Unity's scriptable objects make a great match for game development. This video looks at how to use scriptable objects with Odin. Add groups, preview fields, inline editors and more.
Video Files (Github)
github.com/onewheelstudio/Dev...
Scriptable Object Videos
Unite '17 Seoul: • Unite '17 Seoul - Scr...
Unite '17 Austin: • Unite Austin 2017 - Ga...
Unite '16 : • Unite 2016 - Overthrow...
Buy Odin Inspector: odininspector.com/pricing
Odin Inspector: odininspector.com/
More Odin Tutorials: odininspector.com/tutorials
Odin Attributes: odininspector.com/attributes
Devdog Discord: / discord
Odin Project Validator: odininspector.com/odin-projec...
Assets Used in the Video (Affiliate Links)
Low Poly Toon Battle Arena: assetstore.unity.com/packages...
RPG Monster DUO PBR Polyart: assetstore.unity.com/packages...
#devdog #odininspector #unitygamedevelopment #scriptableobjects
I hadn't realised that odin is everything I desire! Definitely going to grab this next time I start a unity project.
Wow, I didn't know I could put a vertical group on side of horizontal group that way.
That is awesome.
Please, do more content like this, this is so useful
Very useful stuff. I really like the scriptable object creator, can't wait to see it officially added.
It was difficult for me to start with Odin, but now I'm getting to be addicted to it.
my god this is ridiculously awesome!
I've just recently learned about UI Elements (Visual Elements), which is surprising given that it's been available for experimentation since 2018. I've tried looking for some tutorials and there seems to be very few available. Have you given UI Elements a go and/or think it's worthwhile? Perhaps even a tutorial? It seems to be the direction Unity is heading. Gave it a little go an it reminded me a lot of when I worked with CSS and HTML.
Scriptable Objects(SO) are cool to work with. If you want to have a single SO have dynamic values in run time for each object using it... Say you have a boss with 100hp and a mob with 10hp but they are both using the same SO. The quick solution is to do var instancedSO = Instantiate(SOName) in your awake. After you do that you can change the instancedSO values as you like without changing the original SO.
Useful tutorial. Wondering how I would implement scriptable objects at even more atomized level. Frameworks like Unity Atoms and Scriptable Object Architecture wrap strings and ints as SOs themselves, creating assets like StringVariables, StringReferences etc. I've noticed trying to put them into a SO like yours I get tons of attribute errors because they are expecting vanilla strings. Sorry if this is confusing.
I mentioned something like this in a past video (ruclips.net/video/W5ECIJyoW80/видео.html). Is that what you mean? If it is you can find the scripts that I used for the ColorReference in the github link on that video. They're in the "Color SO" folder. If not or the scripts don't help, give us a bit more info and maybe we can take a look at it in a future video?
Do Inline scriptable objects nest? If a monobehaviour uses TownDataSo that uses multiple CitizensSO will i be able to edit everything from the monobehaviour by just adding Inline attribute? I am considering buying the asset since it allows for so much.
ruclips.net/video/qrj90V7a7Ig/видео.html - so 2 years later is SO creator included in the 3.0 version or still only as 3rd party?
Can't see it anywhere, so I'll bet that it's still only the 3rd party one, a pity, but it's pretty easy to add it.
Please make tutorial for making Node Editor using Odin!