Version: 2023.2

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 gizmoEnabled and iconEnabled for a GizmoInfo object.

This is equivalent to calling SetGizmoEnabled and SetIconEnabled.