Commit 0155fb23 authored by 范雪寒's avatar 范雪寒

test: log

parent 6ef4981c
......@@ -705,7 +705,9 @@ export default class SceneComponent extends MyCocosSceneComponent {
const dragonDisplay = animaNode.getComponent(dragonBones.ArmatureDisplay);
dragonDisplay.armatureName = dragonDisplay.getArmatureNames()[0];
console.log('animationName = ' + JSON.stringify(dragonDisplay.getArmatureNames()));
const animationName = dragonDisplay.getAnimationNames()[0];
console.log('animationName = ' + JSON.stringify(dragonDisplay.getAnimationNames()));
dragonDisplay.playAnimation(animationName, 1);
dragonDisplay.timeScale = 0;
......@@ -1173,6 +1175,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
// if (cc.assetManager.cacheManager) {
// cc.assetManager.cacheManager.clearCache()
// }
}
onDestroy() {
......
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