Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ShouldRenderGizmos()

Determines whether or not to draw Gizmos.
Read time 1 minuteLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static bool ShouldRenderGizmos()

Returns

Type

Description

bool

Remarks

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