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

function Close () : void

Description

Close the editor window.

This will destroy the editor window