Unity Validation ToolTips

Опубликовано: 07 Октябрь 2024
на канале: Warped Imagination
2,232
145

I consider validation one of the cornerstones to good tools development

Often I have seen designers working on projects ask why they are getting a specific error from a console and then waiting to receive an answer from a coder.

Validation if done well will navigate that designer to a solution quickly and without having to waste someone else’s time for help.

So in this tutorial I will show some validation tooltips to change the hierarchy display, and also highlight a broken field in the inspector.

If you would like to support this channel, feel free to donate to:
https://www.ko-fi.com/warpedimagination

Asset Links

SuperBot Pack Vol1
https://assetstore.unity.com/packages...

Sci-Fi Laboratory Pack 2
https://assetstore.unity.com/packages...

Documentation Links

Editor Application
https://docs.unity3d.com/ScriptRefere...

Editor Utility
https://docs.unity3d.com/ScriptRefere...

Property Attribute
https://docs.unity3d.com/ScriptRefere...

Property Drawer
https://docs.unity3d.com/ScriptRefere...

Contents:
00:00 - Intro
00:45 - Entry
01:53 - Rewriting our errors
04:23 - Using OnValidate
07:51 - Highlighting in the hierarchy
24:04 - Highlighting the component field
39:01 - Outro

#unity #unity3d #gamestutorial #gaming #games #vr #madewithunity #gamesdevelopment

FTC Disclosure: Some links provided are linked to my affiliate account & support the channel at no extra cost to you.