Commit 51b6acd8 authored by liujiaxin's avatar liujiaxin

mul

parent 6dbbab32
......@@ -269,7 +269,9 @@ export default class PengPeng extends cc.Component {
const [texture, atlasJson, dragonBonesJson ] = assets;
// console.log(texture ? JSON.stringify(texture) : texture, atlasJson ? JSON.stringify(atlasJson) : atlasJson, dragonBonesJson? JSON.stringify(dragonBonesJson): dragonBonesJson)
if (texture) {
texture.setPremultiplyAlpha(true);
}
console.log(texture ? `${texture.constructor.name}` : texture, atlasJson ? atlasJson.constructor.name : atlasJson, dragonBonesJson? dragonBonesJson.constructor.name: dragonBonesJson)
console.log(1)
console.log(`[atlasJson]1 ${cc.js.isChildClassOf(atlasJson, 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