Example #1
0
        static public void UnShowUI(int uiID)
        {
            UIFrame frame = null;

            if (mUIFrameDic.TryGetValue(uiID, out frame))
            {
                frame.OnUnShow();
            }
        }
 static int OnUnShow(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         GameCore.UIFrame obj = (GameCore.UIFrame)ToLua.CheckObject <GameCore.UIFrame>(L, 1);
         obj.OnUnShow();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }