Version: 2022.1

GizmoUtility.ApplyGizmoInfo

切换到手册
public static void ApplyGizmoInfo (GizmoInfo info, bool addToRecentlyChanged);

参数

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

描述

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

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