Method SetGizmoIconEnabled
SetGizmoIconEnabled(Type, bool)
Attaches a scene gizmo to the mesh in the Unity Editor.
Declaration
public static void SetGizmoIconEnabled(Type script, bool enabled)
Parameters
Type | Name | Description |
---|---|---|
Type | script | The Type representing the class of the item to attach the gizmo to (for example, the ProBuilderMesh). |
bool | enabled | True to render the gizmo (for example, while selected); false to not render it. |