Handles.ShouldRenderGizmos

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.