文档

Unity Engine


User Manual

Script Reference

Unity Engine


ShouldRenderGizmos()

Determines whether or not to draw Gizmos.
阅读时间1 分钟最后更新于 22 天前

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.