Commit 3b25ef6b authored by liujiaxin's avatar liujiaxin

1

parent 9d7c7ff5
...@@ -268,7 +268,7 @@ export default class PengPeng extends cc.Component { ...@@ -268,7 +268,7 @@ export default class PengPeng extends cc.Component {
const [texture, atlasJson, dragonBonesJson ] = assets; const [texture, atlasJson, dragonBonesJson ] = assets;
console.log(texture ? texture.constructor.name : texture, atlasJson ? atlasJson.constructor.name : atlasJson, dragonBonesJson? dragonBonesJson.constructor.name: dragonBonesJson) console.log(texture ? JSON.stringify(texture) : texture, atlasJson ? JSON.stringify(atlasJson) : atlasJson, dragonBonesJson? JSON.stringify(dragonBonesJson): dragonBonesJson)
console.log(1) console.log(1)
let atlas = atlasJson let atlas = atlasJson
if (atlasJson.constructor.name == 'cc_TextAsset') { if (atlasJson.constructor.name == 'cc_TextAsset') {
......
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