EditorWindow.OnDestroy Manual     Reference     Scripting  
Scripting > Editor Classes > EditorWindow
EditorWindow.OnDestroy

function OnDestroy () : void

Description

OnDestroy is called when the EditorWindow is closed.