This version of Unity is unsupported.

GizmoType.Selected

Description

Draw the gizmo if it is selected.

It is recommended to always use GizmoType.InSelectionHierarchy instead.