Commit 89d82abb authored by limingzhe's avatar limingzhe

fix: debug 清缓存

parent f169ac75
cc.Class({ cc.Class({
extends: cc.Component, extends: cc.Component,
start() {
this.middleLayer = cc.find('middleLayer').getComponent('middleLayer');
},
onDestroy() { onDestroy() {
console.log('喵喵喵: destroyer onDestroy'); console.log('喵喵喵: destroyer onDestroy');
middleLayer.clearDragonDisplayAssetList(); this.middleLayer.clearDragonDisplayAssetList();
} }
}); });
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