Unity Tutorial - Custom Serialization

Published: 25 April 2024
on channel: Iain McManus
1,298
49

In this tutorial we are going to look at how to setup custom serialization in Unity. In particular we are going to create a serializable wrapper around System.Type to allow us to easily select types in the inspector.

🎞️ Chapters
00:00 Introduction
01:45 Creating our skeleton classes
03:15 Building our SerializableType script
05:50 Hooking into the Unity Serialization logic
09:00 Implementing equality testing
09:45 Setting up our test script
12:00 Implementing our custom property drawer
24:20 Testing the SerializableType

📂 Grab the full project ➠ https://github.com/GameDevEducation/U...

If you've got questions add a comment below or send them in for the next Q&A video
🤔 Send in your questions ➠ https://forms.gle/ToyvqPaBFvpFLtNbA

📁 The searchable video archive is at ➠ https://www.iainmcmanus.dev/gamedev-e...

Looking for other ways to get involved?
🟠 Support the channel on Patreon ➠   / iaintheindie  
🟡 Get the code for all the projects on GitHub ➠ https://github.com/orgs/GameDevEducation
🟢 Check out my games on itch.io ➠ http://iaintheindie.itch.io/
🟣 Follow me on Twitter ➠   / iaintheindie  

🎉 Thankyou to all of the Patrons 🎉
➔ Arman
➔ Kieran B
➔ Grant Coble-Neal
➔ John Kenneth Douglas
➔ Kasper Enwall
➔ Tylah Heil
➔ James McCarthy
➔ Travis Mosier
➔ Sam Orme
➔ Benjamin Russell
➔ Seriphis
➔ SiliconOrchid
➔ Callan Syratt
➔ Serj Tomas

#Unity #Tutorial #GameDev


On this page of the site you can watch the video online Unity Tutorial - Custom Serialization with a duration of hours minute second in good quality, which was uploaded by the user Iain McManus 25 April 2024, share the link with friends and acquaintances, this video has already been watched 1,298 times on youtube and it was liked by 49 viewers. Enjoy your viewing!