public static ChildWindow GetChildWindow <T>(Vector2 position, params object[] parameters) where T : WindowEditor { var window = CurrentWindow.OpenChildWindow <T>(position, parameters); _cWindows[window.Editor] = window; return(window); }