文档

Unity Engine

Unity Engine

ShouldRenderGizmos()

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

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
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.