Exemplo n.º 1
0
 static int SetItemAsset(IntPtr L)
 {
     try
     {
         ToLua.CheckArgsCount(L, 4);
         FairyGUI.UIPackage   obj  = (FairyGUI.UIPackage)ToLua.CheckObject <FairyGUI.UIPackage>(L, 1);
         FairyGUI.PackageItem arg0 = (FairyGUI.PackageItem)ToLua.CheckObject <FairyGUI.PackageItem>(L, 2);
         object arg1 = ToLua.ToVarObject(L, 3);
         FairyGUI.DestroyMethod arg2 = (FairyGUI.DestroyMethod)ToLua.CheckObject(L, 4, typeof(FairyGUI.DestroyMethod));
         obj.SetItemAsset(arg0, arg1, arg2);
         return(0);
     }
     catch (Exception e)
     {
         return(LuaDLL.toluaL_exception(L, e));
     }
 }