This version of Unity is unsupported.

GizmoUtility.ApplyGizmoInfo

Declaration

public static void ApplyGizmoInfo(GizmoInfo info, bool addToRecentlyChanged);

Parameters

info The GizmoInfo to apply.
addToRecentlyChanged Set true to append this component to the "Recently Changed" list in the Annotation Window.

Description

Apply [[GizmoInfo::gizmoEnabled]] and [[GizmoInfo::iconEnabled]] for a GizmoInfo object.

This is equivalent to calling [[GizmoUtility::SetGizmoEnabled]] and [[GizmoUtility::SetIconEnabled]].