Тёмный

Get Started With Unity - Scriptable Objects 

Dapper Dino
Подписаться 60 тыс.
Просмотров 12 тыс.
50% 1

Опубликовано:

 

9 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 32   
@Macalaka
@Macalaka 4 года назад
ive added like 5 videos on this topic to "watch later", about time i actually learn this lol
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials 4 года назад
Good luck :)
@JoltNet
@JoltNet 4 года назад
Best description for how and why to use scriptable objects! Thanks!
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials 4 года назад
Glad you found it useful :D
@lama0344
@lama0344 3 года назад
Your explanation made everything so clear! Thank you so much :D
@ivanpolkanov3273
@ivanpolkanov3273 4 года назад
Oh..this is pritty cool, lets make saves!!moooore save xD
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials 4 года назад
Glad you enjoyed it :)
@Vantivify
@Vantivify 4 года назад
Good timing! :D I just learning about them right now and your video popped up :D thanks ! Do you have any road map for tutorials like this? I see there is already one about game objects. I would love to see more of this. For ex. namespaces, interface, abstracts etc. etc.
@DapperDinoCodingTutorials
@DapperDinoCodingTutorials 4 года назад
I've actually got some old videos covering those topics that you could go check out but I will probably be covering them again in this beginners playlist.
@coldcloudmedia2106
@coldcloudmedia2106 3 года назад
Excellent explanation. Thanks a lot!
@Jeff-zc6rr
@Jeff-zc6rr 2 года назад
I wish there was something on. 1) How to create scripable objects with c#. 2) how to attach it to your gameobject. 3) How to update each instance with values from a database. I'm sure scriptableobjects were meant to be created one at a time by right clicking on a menu.
@ipadize
@ipadize 3 года назад
what do you recommend, Unity 2019 Lts or 2020 (maybe they will enter 2020 Lts some time?)
@hudsonfinn7001
@hudsonfinn7001 3 года назад
What about objects that may change in the game? Suppose we have a sword, and at some point the sword could be upgraded. Would a scriptable object be advisable in that case or not?
@user-dm5qi4nb6l
@user-dm5qi4nb6l 4 года назад
I'm a beginner with nearly one-month learning unity... So inside a scriptable object, you can make it so that some information is accessible (get) but not editable (set) doing that we are less prone to errors by changing accidentally some value while running the game...but I think I heard something about making the game more secure, ¿how? secure against bugs or hackers or both... omg I want to understand this topic already and it seems is going to take some time.
@prodbytukoo
@prodbytukoo 2 года назад
It's for making it secure from yourself And for working with teams in the future
@muhammadtalhaali2541
@muhammadtalhaali2541 3 года назад
Thanku sir :) My boss will be happy
@keeroin
@keeroin 4 года назад
Dude, great video! And can you explain please, what's this "new string" does? :0
@badublackwater6556
@badublackwater6556 4 года назад
He uses "new string" instead of "string" because in Unity there is already a string called "name" predefined and "new string" tells the programm now to use this NEW name instead of the old one
@keeroin
@keeroin 4 года назад
@@badublackwater6556 oh, I don't know about that, thanks!
@locusruizlopez5997
@locusruizlopez5997 3 года назад
thanks
@wilimelano
@wilimelano 3 года назад
hello, when I make the textmeshpro prefab it looks fine in edit mode. but when i run the game, i can see the textmeshpro objects being instanced, i can select them, but they are invisible. can you help me?
@darkman237
@darkman237 3 года назад
Instead of an array, could you do the same with a list?
@julianwilson1200
@julianwilson1200 4 года назад
How do you save and load the data for on build. My scriptable object works in the compiler but not on build
@rohitkvss
@rohitkvss 4 года назад
Scriptable objects has empty inspectors and do not exist in build. Could you please help me out?
@MegaMarko1996
@MegaMarko1996 4 года назад
Can you create ScriptableObjects at runtime and save them?
@euden_yt
@euden_yt 4 года назад
Yes you can from script and from the editor (project window) while in play mode. You can even hot swap for another one before exiting play mode. Just not so much on a build as you'll need to store the data then reconstruct it every time the game begins / is needed.
@MegaMarko1996
@MegaMarko1996 4 года назад
@@euden_yt Well i did researchd and tried to do this. I built custom editor to add key value pair and assign that to the scriptable object and save that object, but its like blank in project and when i click on it its like it does not have a type and nothing shows in inspector window.
@badublackwater6556
@badublackwater6556 4 года назад
I do agree with this 100% Likes without Dislikes. I'm most greatful sir.
@weckar
@weckar 3 года назад
I always thought Scriptable Object was a bit of a misnomer. Very rarely do you actually want any actual script to come near one of them.
@christofstanits
@christofstanits 4 года назад
so the video you made on creating a save system with scriptable objects. You wouldn't recommend that anymore? ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-SNwPq01yHds.html
@hiiambarney4489
@hiiambarney4489 4 года назад
I love how you just skipped your russian patreon... come on man, he is paying you. takes like 5 seconds to figure out how to pronounce that.
Далее
Get Started With Unity - Debug.Log(); Or Debugging
12:04
Get Started With Unity - Unity Events
11:17
Просмотров 5 тыс.
İlham Əliyev və Vladimir Putin görüşü başladı
00:17
How To Create An Advanced Save System In Unity
16:00
Просмотров 31 тыс.
The Power of Scriptable Objects as Middle-Men
17:41
Просмотров 126 тыс.
Unity3D - Scriptable Object Inventory System | Part 1
31:31
İlham Əliyev və Vladimir Putin görüşü başladı
00:17