ThePowerOfGizmos1

I usually use Unitys gizmos to help debug features I am working on. It’s a great feature. It really helps to visualise what your code is doing. But I usually remove the gizmos once I have sorted stuff out and know that the code is doing what it’s supposed to.
Today when working on the project I got the feeling that it started to get a bit messy. There are a lot of small systems that speaks to each other but nothing is visible in the editor except from the inspector.
I thought that I could use gizmos to help clear things up.
I found the Gizmos.DrawIcon function to be very helpful. It enables you to draw custom gizmo icons in the editor with the same functionality as the built-in ones.
It’s great to be able to visualise your own scripted object and its connected objects and functionalities.
In the picture you can see an example of the way I use gizmos for a cinematic camera system.
I’m considering adding gizmo icons to all the major systems I use in the game.
For my game it could really help the development with a system for displaying which objects are interactive and which are not.
Just wanted to share this new way (for me) of using gizmos.
Hope this tip can be of use for anyone.