static int DBInit(IntPtr L) { try { ToLua.CheckArgsCount(L, 2); DragonBones.UnityArmatureComponent obj = (DragonBones.UnityArmatureComponent)ToLua.CheckObject <DragonBones.UnityArmatureComponent>(L, 1); DragonBones.Armature arg0 = (DragonBones.Armature)ToLua.CheckObject <DragonBones.Armature>(L, 2); obj.DBInit(arg0); return(0); } catch (Exception e) { return(LuaDLL.toluaL_exception(L, e)); } }