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

            if (m_views.TryGetValue(viewName, out view))
            {
                view.Close();
            }
        }
Exemple #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();
            }
        }