private void OnDeleteLayout() { if (m_Layout != null) { SubWindowTreeDeleteLayoutWizard.CreateWizard(m_Layout); } }
//private List<string> m_Layouts; public static void CreateWizard(SubWindowLayout layout) { SubWindowTreeDeleteLayoutWizard wizard = ScriptableWizard.DisplayWizard <SubWindowTreeDeleteLayoutWizard>("Delete SubWindow Layout"); wizard.m_Layout = layout; //wizard.m_Layouts = layout; }