public static int CollectAssetWrap(IntPtr l) { int result; try { ARUITask aruitask = (ARUITask)LuaObject.checkSelf(l); string assetName; LuaObject.checkType(l, 2, out assetName); aruitask.CollectAssetWrap(assetName); LuaObject.pushValue(l, true); result = 1; } catch (Exception e) { result = LuaObject.error(l, e); } return result; }