This version of Unity is unsupported.

Overlay.OnWillBeDestroyed

Declaration

public void OnWillBeDestroyed();

Description

Called when an Overlay is about to be destroyed.

Usually this corresponds to the EditorWindow in which this Overlay resides closing.