diff --git a/assets/cc_mz_007/scene/cc_mz_007.js b/assets/cc_mz_007/scene/cc_mz_007.js index 04971bb8e1b00475e2e7b1f445c1734917f1067e..1b9d1696f94136764c3bcd4dae15ef6491f271b6 100644 --- a/assets/cc_mz_007/scene/cc_mz_007.js +++ b/assets/cc_mz_007/scene/cc_mz_007.js @@ -966,21 +966,8 @@ cc.Class({ } cc.loader.load(image, async (error, texture) => { - this.log('error: ' + error); - await asyncDelay(3); - cc.loader.load({ url: atlas, type: 'txt' }, async (error, atlasJson) => { - - this.log('error: ' + error); - await asyncDelay(3); - cc.loader.load({ url: ske, type: 'txt' }, async (error, dragonBonesJson) => { - - this.log('error: ' + error); - await asyncDelay(3); - - this.log('汪汪汪1'); - await asyncDelay(3); const atlas = new dragonBones.DragonBonesAtlasAsset(); atlas.atlasJson = atlasJson; atlas.texture = texture; @@ -995,8 +982,6 @@ cc.Class({ let armatures = json["armature"]; // console.log('armatures: ', armatures); let armatureNames = []; - this.log('汪汪汪2'); - await asyncDelay(3); for (let i = 0; i < armatures.length; i++) { armatureNames.push(armatures[i].name); }