GizmoUtility.SetIconEnabled

Declaration

public static void SetIconEnabled(Type type, bool enabled);

Parameters

type The component type to render or hide icons.
enabled Set true to render icons for this component type in the Scene View, false to hide.

Description

Enable or disable icon rendering for all objects in the Scene View for a component type.

Type must be assignable to Component.


Did you find this page useful? Please give it a rating: