Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

GizmoType

Description

Determines how a gizmo is drawn or picked in the Unity editor.

The types can be combined together with an OR operator. See Also: DrawGizmo.

Variables

ActiveDraw the gizmo if it is active (shown in the inspector).
SelectedOrChildDraw the gizmo if it is selected or a child of the selection.
NotSelectedDraw the gizmo if it is not selected and also no parent/ancestor object is selected.
SelectedDraw the gizmo if it is selected.
PickableThe gizmo can be picked in the editor.