Unity Tutorial: Using Attributes

Pubblicato il: 16 maggio 2024
sul canale di: Iain McManus
358
35

In this tutorial we are going to be taking a deeper look at useful C# attributes in Unity to make our lives easier.

For a full list of Unity specific attributes check out: https://docs.unity3d.com/Manual/Attri...
General ones begin here: https://docs.unity3d.com/ScriptRefere...
Editor only ones begin here: https://docs.unity3d.com/ScriptRefere...

🎞️ Chapters
00:00 Introduction
02:00 Component dependencies
04:00 Extending the Add Component menu
05:30 Preventing duplicate components
07:30 Customising colour inspector UI
10:10 Adding tooltips
12:10 Adding header labels and spacing to the UI
13:10 Adding range limits
14:40 Adding context menus to the inspector UI
17:40 Modifying the display name of enum values
20:10 Setting up Text Areas
22:50 Controlling serialization and visibility

📂 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: Using Attributes della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Iain McManus 16 maggio 2024, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 358 volte e gli è piaciuto 35 spettatori. Buona visione!