文档

Unity Engine

Unity Engine

focusChanged

Raises when the Editor gets or loses focus in the operating system.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Event
  • Namespace: UnityEditor
  • Assembly: UnityEditor
public static event Action<bool> focusChanged

Remarks

[EditorApplication.isFocused] toggles before this event raises.