How To Use Scriptable Objects in Unity

preview_player
Показать описание
In this video we take a look at how to use scriptable objects, what they're for and why you might want to use them.

Be sure to LIKE and SUBSCRIBE if you enjoyed this guide! Share the video for extra love!

And a case study:

Socials:
Рекомендации по теме
Комментарии
Автор

This is EXACTLY the channel I was looking for. As someone with a software engineering background being able to find concise, straight to the point videos about Unity features I didn't know existed without the pandering "here's how you erm... assign variables... and uh inheritance is a concept where" bs is great. Having these videos should be helpful for those learning too. You could either A: follow along exactly from a tutorial and learn nothing but make it work, or get an idea and learn it along the way, which is what this type of content is geared towards. Great stuff.

IOSAppCrazy
Автор

would love to see a more in depth tutorial series about scriptable object

TheNamesJT
Автор

This is the most concise explanation of scriptable objects.

CausticCatastrophe
Автор

Oh wow, this sounds crazy useful. Can't believe I never knew about this one before. Here I was hardcoding data into my classes like a fool.

Adidaas
Автор

I have nothing to do with game development but still... I'm intrigued by all of those guides. They are so fascinating and straight to the point without any bullshit. Such a rare breed of guide, here on youtube out of all places, it's refreshing to look at.

RandmThing
Автор

Can't believe that you don't have more subscribers than this. This channel is absolutely fantastic keep up the good work!

vizion
Автор

I have to say a big thank you for the examples in this. I'm coming back to Unity after a long break and it's been a great refresher as well as some advice/examples that I've not come across in my previous learning.

Great job!

baconchaney
Автор

Wonderful video! It's surprising how much valuable information you were able to cram into 4 minutes. Extremely useful for those who might already know about the subject but don't know the neat more advanced use scenarios like nesting and doing more than just storing variables.

RaoulWB
Автор

This is the best tut about Scriptable Objects. Now I almost understand it.

halivudestevez
Автор

It took me a while to grasp that a gameObject using SO has to reference it as public, but after inspecting your code I figured it out.

dekosoft
Автор

great simple and direct intro to the nature of SO

ArtisticaD
Автор

So sad that such an awesome channel did not get enough attention so the owner would kept publishing more video tutorials, thanks for this one, I will give it a try in real project.

rickloyd
Автор

Bro you are so much more practical and basically like the adult show version of Brackeys I love you

xXTheivesGuildXx
Автор

Wow, you did a great job explaining this topic I have been struggling with. Thank you.

DadCodeTrainSleep
Автор

Wow, I only discovered your channel today. You are seriously a Godsend. thank you! all your videos are so clear and concise and the way you edit your videos make it so it's not some boring video.
Thanks! Subbed :D

brandons
Автор

(new to unity) I would love to see more about Scriptable Objects, I have been thinking of an easy way to add, remove and organize content in a game idea I have.
Basic idea is that each character would be a scriptable object, all having the same required assets and info, then with a character manager scriptable object would store all of the characters in a single list that would make it easy to set the cost and if the character is visable in the store.
idk how far this could go, but I could also create a Store manager Scriptable object that connects all of the managers like character manager, weapon manager, banner/avatar manager, etc. this could have even more up level controls like 50% discount on all weapons.

JonesSeries
Автор

Very concise!! That's good, but I would like to know more! Love your videos.

MrTybex
Автор

Scriptable Objects can be used for components to talk to eachother if they have the same Scriptable Object.

Scriptable objects can also hold the logic of a Monobehaviour. Enabling you to share behaviours or quickly change between behaviours without changing the component.
Using Custom Property drawers and reflection you can make a popup field that shows all scriptable objects that derive from a given base scriptable and automatically creates that objects for you in a defined folder(that also saves you the tedious work of everytime creating an asset menu, even if you just need the object once)

Scriptable objects also can save Playmode Data (only in editor)

There are a lot more usecases than just using them as dataobjects, and it's quite a shame that not more people use them or just use them to a limited degree.

huyopo
Автор

Really loved to see so much informations delivered in 4 minutes yet in an extremely chill way <3

LaCreArthur
Автор

I’m currently using Scriptable Objects for a dialogue system in my RPG game! I’ve made a custom editor for them, too!

gavn