Beispiel #1
0
 static public int Dispose(IntPtr l)
 {
     try {
         FairyGUI.PopupMenu self = (FairyGUI.PopupMenu)checkSelf(l);
         self.Dispose();
         pushValue(l, true);
         return(1);
     }
     catch (Exception e) {
         return(error(l, e));
     }
 }
 static int Dispose(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         FairyGUI.PopupMenu obj = (FairyGUI.PopupMenu)ToLua.CheckObject <FairyGUI.PopupMenu>(L, 1);
         obj.Dispose();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }