Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


focusChanged

Raises when the Editor gets or loses focus in the operating system.
Read time 1 minuteLast updated 4 days ago

Definition

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

Remarks

[EditorApplication.isFocused] toggles before this event raises.