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

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

This is equivalent to calling SetGizmoEnabled and SetIconEnabled.