Commit 42da19bc authored by limingzhe's avatar limingzhe

fix: debug 清缓存

parent 89d82abb
......@@ -446,7 +446,7 @@ export abstract class middleLayerBase extends cc.Component {
const atlas = dragonDisplay.dragonAtlasAsset;
const asset = dragonDisplay.dragonAsset;
if (atlas.texture) {
if (atlas && atlas.texture) {
if (atlas.texture.nativeUrl.includes('h5template')) {
node.children.forEach(child => {
this.getDragonDisplayAssetList(child);
......
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