A Practical Guide To Editor Scripting in Unity - Part 3: Gizmos
After talking about inspector attributes in part 2, it is time to switch our focus to the scene view. Most of editor scripting in Unity is changing and dealing with the editor by adding buttons, making UI changes or creating new windows, however, there is a small part of the editor API that allows you to work with the scene view, and those are Gizmos. Gizmos are all these little UI elements and graphics present all over the scene view, all the different icons on objects, like the sun and camera icons, the outline around selected objects and the collider outline are all in reality gizmos....