Serialize Reference, Serialize Field, Serializable and Scene Serialization in Unity | Unity Tutorial

preview_player
Показать описание
Learn about the newish SerializeReference attribute in Unity, as well as the ins-and-outs of the SerializeField and Serializable attributes and how they relate to scene serialization in Unity. We'll be exploring the Unity YAML scene files as well to get a big picture view of how custom classes get serialized. Finally, we'll take a look at the package SerializeReferenceExtensions to see how we can improve our editor workflow when working with polymorphism and subclasses.

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

this just saved my game I think. in the past I used structs to save data with enums for types. thanks to this I can create normal classes and now they are serializable which allows me to turn them in to json's easier and save them. Plus I can easily test and setup things in the editor. this extension must be a default important thing in unity

mehmedcavas
Автор

Yes, please make that finite state machine in inspector video!

slodoco
Автор

Great video! Even being at a level where I'd typically say "yeah of course I know how [SerializeField] works..", this step-by-step testing along with checking the scene file really helps shed some light on what's actually happening, and cements it all together. The later tips in the video about [SerializeReference] will come in handy for some projects I have in mind. Thanks!

m-horth
Автор

I love your explanation. Sometimes we forget how things works.

christianskwisgaar
Автор

Please make a finite state machine, I want to learn the advance topic more
keep up the good work! much appreciate

Sakach
Автор

Great explanation. Subscribed. Keep it up! It would be awesome to see the finite state machine!

nicolas
Автор

Finally I know the serialized Reference use case.

problemO
Автор

QuoteAllPositiveComments();

Thank you !

nekonyo
Автор

Again, amazing explanation. Would love to see you explain FSMs. It would be really helpful

birahe
Автор

... the video I wish had existed when I first started learning Unity.

mathboy
Автор

wow. finally a great overview with depth and a calm explanation. Thank you!

machinaexphilip
Автор

Thanks. This really helped me understand serialized fields a lot better. Hope to see a lot more videos from you!

hermanusjohannesbesselaar
Автор

We need As a beginner, you are the only one who can help a person like me to escape the tutorial HELLLL!!!!

Great video, btw.

dustin.
Автор

Such a great explanation! I keep coming back to this as I learn Unity and run into these concepts

Benndot
Автор

First video youtube recommended that's actually really good

Canals
Автор

Clear and compact explanation! Looking forward for more future video from you!

xXBloD
Автор

I'm surprised that a completely random video was able to solve an issue I was having like a week ago haha.

I sacrificed some generics and abstracts due to the very situation you've showed. But perhaps I can reimplement them using some of these attributes.

Awesome video, really clean explanation.

foo
Автор

Great video!
Please continue to making these beyond the basics videos. Great concept really.

jsootjk
Автор

Nice tutorial and thanks for the tool, not sure what I'd use it for yet, but I think its great to setup stuff on the inspector that way

Crackoder
Автор

Thank you
I would LOVE to know more about your state machine, even more if the quality of the video matches this one !!

elyastigre