Example #1
0
        public void OpenView(string viewName)
        {
            IBaseView view = null;

            if (m_views.TryGetValue(viewName, out view))
            {
                view.Open();
            }
        }
Example #2
0
        public static void OpenView(string viewName)
        {
            IBaseView view = null;

            if (m_views.TryGetValue(viewName, out view))
            {
                view.Open();
                return;
            }
            ILuaBaseView luaView = null;

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