Commit ae25049e authored by liujiaxin's avatar liujiaxin

1

parent 8a91fee1
......@@ -268,7 +268,7 @@ export default class PengPeng extends cc.Component {
const [texture, atlasJson, dragonBonesJson ] = assets;
console.log(texture, atlasJson, dragonBonesJson)
console.log(texture.constructor.name, atlasJson.constructor.name, dragonBonesJson.constructor.name)
console.log(1)
let atlas = atlasJson
if (atlasJson.constructor.name == 'cc_TextAsset') {
......@@ -290,7 +290,7 @@ export default class PengPeng extends cc.Component {
asset.dragonBonesJson = dragonBonesJson.text;
console.log(7)
}
console.log(4)
dragonDisplay.dragonAtlasAsset = atlas;
console.log(8)
dragonDisplay.dragonAsset = asset;
......
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