GizmoInfo contains information about the Scene View gizmo and icon for a component type.
See GizmoUtility for an example.
| Property | Description |
|---|---|
| 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. |
| Method | Description |
|---|---|
| CompareTo | Returns an integer value comparing the name property of two GizmoInfo types. |