Handles.ShouldRenderGizmos

Switch to Manual
public static bool ShouldRenderGizmos ();

Description

Determines whether or not to draw Gizmos.

This helper function abstracts the state of Gizmos being enabled or not in the Game and Scene view.