Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

GizmoUtility.SetIconEnabled

Suggest a change

Success!

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.

Close

Submission failed

For 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.

Close

Cancel

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.