Unity Tutorial - Custom Serialization

Veröffentlicht am: 25 April 2024
auf dem Kanal: 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


Auf dieser Seite können Sie das Online-Video Unity Tutorial - Custom Serialization mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Iain McManus 25 April 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,298 Mal angesehen und es wurde von 49 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!