Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • 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

Active Draw the gizmo if it is active (shown in the inspector).
SelectedOrChild Draw the gizmo if it is selected or a child of the selection.
NotSelected Draw the gizmo if it is not selected and also no parent/ancestor object is selected.
Selected Draw the gizmo if it is selected.
Pickable The gizmo can be picked in the editor.