Commit 201c86fd authored by 范雪寒's avatar 范雪寒

test

parent f0d6c59d
...@@ -1008,11 +1008,19 @@ cc.Class({ ...@@ -1008,11 +1008,19 @@ cc.Class({
this.log('汪汪汪4'); this.log('汪汪汪4');
await asyncDelay(3); await asyncDelay(3);
let defaultArmatureName = armatureNames[0]; let defaultArmatureName = armatureNames[0];
this.log('汪汪汪4.1');
await asyncDelay(3);
dragonDisplay.armatureName = defaultArmatureName; dragonDisplay.armatureName = defaultArmatureName;
this.log('汪汪汪4.2');
await asyncDelay(3);
// let animationNames = dragonDisplay.getAnimationNames(defaultArmatureName); // let animationNames = dragonDisplay.getAnimationNames(defaultArmatureName);
let defaultArmature = armatures[0]; let defaultArmature = armatures[0];
this.log('汪汪汪4.3');
await asyncDelay(3);
let animations = defaultArmature.animation; let animations = defaultArmature.animation;
let animationNames = []; let animationNames = [];
this.log('汪汪汪4.4');
await asyncDelay(3);
for (let i = 0; i < animations.length; i++) { for (let i = 0; i < animations.length; i++) {
animationNames.push(animations[i].name); animationNames.push(animations[i].name);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment