/// <summary> /// 设置窗口实例 /// </summary> /// <typeparam name="W">类型</typeparam> /// <param name="_window">窗口实例</param> public void SetWindow <W>(W _window) where W : AbsUIWindowView { window = _window; mWindowCanvas.AttachWindow(_window); }