class in UnityEditor
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseGizmoInfo contains information about the Scene View gizmo and icon for a component type.
See GizmoUtility for an example.
gizmoEnabled | Toggle gizmo visibility in the Scene View for components of this type. |
hasGizmo | Defines whether a component type renders any gizmos in the Scene View. |
hasIcon | Defines whether a component type renders an icon in the Scene View. |
iconEnabled | Toggle icon visibility in the Scene View for components of this type. |
name | The display name for the type represented by this GizmoInfo. |
script | The MonoBehaviour script asset corresponding to the component type represented by this GizmoInfo. |
thumb | A preview image for the component type. |
CompareTo | Returns an integer value comparing the name property of two GizmoInfo types. |