Upgrade Your Projects With SCRIPTABLE OBJECTS
Scriptable Objects have been a hot topic with Unity devs for years, and are easily one of the most important tools in structuring clean, decoupled, multipurpose code.
I give a really simple example here just to kickstart the conversation on how these things are created and introduce what they are conceptually, but we'll take a deeper look going forward in some really interesting ways to use these to structure your code in ways that will change your perspective on project architecture.
✨Want to support the channel?
Buy me a coffee ☕: ko-fi.com/bmoli
➤SUBSCRIBE TO MAKE GAMES AND BECOME BEZOS RICH, ALSO BEAUTIFUL ❤️
➤LIKE the video if you enjoyed, it really helps the channel!
➤Join our DISCORD SERVER: / discord
We have channels to help you with your problems!
Thanks for watching!
#bmo #unity #tutorial
Пікірлер: 24
maybe one of the best Unity tutorials guy I have found in years,fast,direct,useful and undestanding examples and much more,and my mother language isn't english even....thank you for sharing your knowledge!!!
Finally!, This is the first Scriptable object tutorial that i understood, thank you ! :D
I'm really amazed by how simple yet so remarkable the tutorials you make are. Great quality, and I'm learning tons of 'basic' stuff I can use! Thanks for all the good work!
@BMoDev
2 жыл бұрын
🙏 thanks, appreciate ya
Scriptable Objects are one of the most useful and powerful tools. Thanks for sharing brother!
@BMoDev
2 жыл бұрын
💯
I subscribed, now I’m Bezos rich and beautiful ❤️ Thanks BMO!
@BMoDev
2 жыл бұрын
Youre welcome.
Wow,three great videos back to back. You're rocking this BMO!lol
Thank you. I was watching a paid course in which they delved into this topic but failed greatly. After watching Brackeys primer, I was still confused on how to actually get the reference/ extract the info from the scriptable object. Sir, you done it! 🎉
perfect timing! i was JUST looking for a simple introduction to scriptable objects and found this ^^
@BMoDev
2 жыл бұрын
I sensed you needed help in the cosmos
Looking forward to more videos on how to decouple things. :)
this actually solidified (in a good way) these concepts that ive been confused over. maybe if you could show how to access an object vector components and such. this is a great subject and your an excellent instructor! maybe have have a separate video of you setting up the player controller coupled with monobehaviour?
i wish i found your channel when i was a beginner! btw you can just use the object.name instead of having a name string, ive never had to use both :D
I know you know this but you didn't show it in the video (for some reason I like watching scriptable object videos). One of the best features of a scriptable object is being able to change/Edit it at runtime and have the data saved when you exit play mode making adjustments super easy. Thought I'd share for anyone new to scriptable objects.
@LifeLedLucid
2 жыл бұрын
@BMo btw, I've seen about 8 of your videos now and thought they were all very well done. Thank you for making so many nice videos, I know you're not making much if anything off of all your hard work but I hope in the future you have several hundred thousand subscribers or more. Peace!
🔥🔥🔥
Awesome! Scriptable Objects look really useful. I'm not all that familiar with how to utilize them, though.
@BMoDev
2 жыл бұрын
Thats normal! It takes some time playing with them but its worth investing time into!
thanks
But isn't that simple just make a static field to access It from whatever you want for example: public static float HealthStatic; public float health = 100; Void Start() { HealthStatic= health; } isn't the same method to invoke It from whatever you want?
So basically Scriptable objects is like inheritance but with extra steps? Correct me if I'm wrong
Upgrade system works with scriptable objects?