示例#1
0
 static int Dispose(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 1);
         FairyGUI.GRoot obj = (FairyGUI.GRoot)ToLua.CheckObject <FairyGUI.GRoot>(L, 1);
         obj.Dispose();
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }
示例#2
0
 public static void ClearInst()
 {
     inst.Dispose();
     _inst = null;
 }