static int set_instance(IntPtr L)
 {
     try
     {
         U3DEventFrame.AssetManager arg0 = (U3DEventFrame.AssetManager)ToLua.CheckUnityObject(L, 2, typeof(U3DEventFrame.AssetManager));
         U3DEventFrame.AssetManager.instance = arg0;
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
 static int SendMsg(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 2);
         U3DEventFrame.AssetManager obj  = (U3DEventFrame.AssetManager)ToLua.CheckObject(L, 1, typeof(U3DEventFrame.AssetManager));
         U3DEventFrame.MsgBase      arg0 = (U3DEventFrame.MsgBase)ToLua.CheckObject(L, 2, typeof(U3DEventFrame.MsgBase));
         obj.SendMsg(arg0);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }