示例#1
0
        public void CloseView(string viewName)
        {
            IBaseView view = null;

            if (m_views.TryGetValue(viewName, out view))
            {
                view.Close();
            }
        }
示例#2
0
        public static void CloseView(string viewName)
        {
            IBaseView view = null;

            if (m_views.TryGetValue(viewName, out view))
            {
                view.Close();
                return;
            }
            UnityEngine.Debug.Log(viewName);
            ILuaBaseView luaView = null;

            if (m_luaViews.TryGetValue(viewName, out luaView))
            {
                luaView.Close();
            }
        }