Unity Tutorial - Custom Serialization

Pubblicato il: 25 aprile 2024
sul canale di: 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


In questa pagina del sito puoi guardare il video online Unity Tutorial - Custom Serialization della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Iain McManus 25 aprile 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,298 volte e gli è piaciuto 49 spettatori. Buona visione!