- Home /
Calling Default Gizmos Selected Behaviour
Unity has some nice default functionality for drawing gizmos in the editor when a given transform is selected. For example, after selecting a given gameobject, unity will draw all of the gameobject's colliders as well as child colliders to the scene view. Is it possible that I could trigger this functionality, even when the gameobject isn't selected? I know that I could write out all of the code to draw every collider type in OnGizmosDraw()
, but I would imagine there is an easier way.
Any help greatly appreciated!
Your answer
![](https://koobas.hobune.stream/wayback/20220613011245im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to make a custom gizmo like 'Grid' or 'Axis'? 0 Answers
Is it possible to draw gizmos when an object is selected, but not when the parent is selected? 2 Answers
Is it possible to change the implementation for the built-in move gizmo? 0 Answers
Labeling objects in the scene editor view 2 Answers
How to hide Gizmos by script 4 Answers