public UIWindow_Base ShowWindow(UIWindow_Base source) { if (m_WindowQueue.Count == 0) { ShowScreenFade(); } UIWindow_Base wnd = CreateWindow(source, WindowParent); m_WindowQueue.Push(wnd); wnd.OnWindowClose += WindowCloseHandler; wnd.Show(); return(wnd); }
public void ShowScreenFade() { m_ScreenFade = CreateWindow(UIWindow_ScreenFade, FadeParent); m_ScreenFade.Show(); }