Putting Gizmos In Editor Classes For Unity

Опубликовано: 13 Октябрь 2024
на канале: Warped Imagination
3,720
255

I was talking to a developer and they said they were not happy with writing gizmos in the component classes as they felt they were more deserving of being in the editor class for those components.

My reply was why don’t you put them in the editors .. and this video will show you just that and as a bonus how to make the Gizmo selectable.

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


Asset Links

Top Down Sci-Fi Space Station
https://assetstore.unity.com/packages...

Sci-Fi Alien
https://assetstore.unity.com/packages...


Documentation Links

Draw Gizmo
https://docs.unity3d.com/ScriptRefere...

Contents:
00:00 - Intro
01:08 - Intro to Gizmos
06:25 - Talking about examples
08:24 - Moving Gizmo to the Editor
12:52 - Selecting the Object with the Gizmo
14:09 - Apology

#unity #unity3d #unitytutorial #madewithunity #gamesdevelopment

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