This version of Unity is unsupported.

EditorApplication.focusChanged

Description

Raises when the Editor gets or loses focus in the operating system.

[EditorApplication.isFocused] toggles before this event raises.