What are Scriptable Objects? (EXTREMELY Useful, Make your games Designer Friendly)

preview_player
Показать описание
Let's learn all about Scriptable Objects and how they help us make our Games Designer Friendly!
👇
🌍 Get Code Monkey on Steam!
👍 Interactive Tutorials, Complete Games and More!

Make your Games Designer Friendly! (Scriptable Objects)

Grid System in Unity

Crafting System in Unity

Crafting Items with Scriptable Objects!

Build Awesome Easy to Use Tools with Custom Editors!

If you have any questions post them in the comments and I'll do my best to answer them.

See you next time!

#unitytutorial #unity3d #unity2d

--------------------------------------------------------------------

Hello and welcome, I am your Code Monkey and here you will learn everything about Game Development in Unity 2D using C#.

I've been developing games for several years with 7 published games on Steam and now I'm sharing my knowledge to help you on your own game development journey.

--------------------------------------------------------------------

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

Scriptable Objects! Have you used them? They have so many awesome possible uses!
🌐 Have you found the videos Helpful and Valuable?

CodeMonkeyUnity
Автор

You explained it very well. I made a tutorial series for a Turn-Based RPG like Pokemon, where I stored the data of pokemons and their moves using scriptable objects. Now, I can point people who are unfamiliar with it to this video, so they can understand the basics before following my series.

GameDevExperiments
Автор

Scriptable Objects can not only store data, they can also used for things like communication between entities.
Its often a better alternative to use scriptable objects than to use Singletons (witch you shouldn't use that much, only in really rare circumstances, some say you shouldn't use them at all).

Also, ScriptableObjects can contain logic.
If you make them abstract, you can use derived scriptable objects to implement the logic of a gameobject.
Its more flexible than using different MonoBehaviours and you can hot swap behaviours without destroying and replacing MonoBehaviours.

huyopo
Автор

firstly you save me with your DOTS videos, now you do with this one!
Muuuuch love for you!

dmytrosavostianov
Автор

This is the only tutorial I've seen that actually made a distinction between the Scriptable Object Definition, and the Scriptable Object asset files that are instances of it.
Everyone just refers to all of the various files as "Scriptable Objects" which was really confusing to me at first.

harrison
Автор

One of my many go to Code Monkey videos, you have a lovely repository now of great tips and tutorials that is super helpful. Your voice/manner is also very encouraging and reassuring with confidence and you get to the point quickly. I love how you give just enough info quickly so we can go "oh yeah that's how it worked, I remember now" to also adding more detail. You deserve great things my friend!

ZukuseiStudios
Автор

I'm really going to have to rethink how my rpg engine handles characters and items after watching this :D

KrazyKain
Автор

I loved how you explained it! It made it very easy to understand! I think I can use Scriptable Objects a little bit more intuitively now; when I first read about them they seemed SO complicated!

xkittencatx
Автор

Man you're really doing great job!!!You are using your time and skills to make our journey easy.Huge Respect and love for you.🤗

skye
Автор

Thanks this helped with some data issues I was having when changing scenes. I needed the data to persist through scene change, but I needed it to reset upon starting the game. Seemed like Scriptable Objects are the solution!

lanceroygames
Автор

Still the best video on this topic to be found anywhere.

bfan
Автор

Definitely gonna give this a try some day. Thanks, very useful video, as always.

dspartan
Автор

your videos are a huge help to my videogame, ill try to support in every way i can.
Thank you!

nanito
Автор

Really awesome video and good tip regarding SO are sent by reference. That will definitely save the memory. Cannot wait to see next part about custom editor. That makes scriptable objects ideal for custom Editor tool! Thanks for you job and sharing your experience with us!

rickloyd
Автор

I've never worked with scriptable objects. I would say let's expand our horizon! :)

arrain
Автор

🌍 Get Code Monkey on Steam!
👍 Interactive Tutorials, Complete Games and More!

CodeMonkeyUnity
Автор

Thank you for this! I have been binge-watching all your videos.

CyberStudios
Автор

One quick thing, they can also be other stuff than just data. A scriptable object is pretty much the same as a monobehavior but without an update method

Gonzakoable
Автор

I have a question, what makes scriptable object more attractive than public properties of the component? They are both editable... the only advantage I see is that scriptable objects could be places in some config folder and designer may not need to search to which object the controller component is assigned (I saved your video and liked in advance, I will watch it tomorrow, sorry if you answered this question within video)

rickloyd
Автор

Cool! As always. We are looking forward to the next video.

arcday