Version: 2022.1

Overlay.OnWillBeDestroyed

切换到手册
public void OnWillBeDestroyed ();

描述

Called when an Overlay is about to be destroyed.

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