文档

Unity Engine

Unity Engine

viewToolActive

Returns true if the active tool is a view or navigation tool.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Property
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static bool viewToolActive { get; }

Remarks

Use this property to determine whether a tool should consume the current Event.