public override void OnClose() { if (this.m_Editor != null) { Object.DestroyImmediate(this.m_Editor); } }