Commit 7675b3ef authored by liujiaxin's avatar liujiaxin

mul

parent 26a7e31b
......@@ -270,8 +270,8 @@ 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);
dragonDisplay.premultipliedAlpha = false;
// texture.setPremultiplyAlpha(true);
// dragonDisplay.premultipliedAlpha = false;
}
console.log(texture ? `${texture.constructor.name}` : texture, atlasJson ? atlasJson.constructor.name : atlasJson, dragonBonesJson? dragonBonesJson.constructor.name: dragonBonesJson)
console.log(1)
......
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