Commit 4079627e authored by 李维's avatar 李维

测试释放texture

parent 9d4d0c88
...@@ -518,6 +518,7 @@ export abstract class middleLayerBase extends cc.Component { ...@@ -518,6 +518,7 @@ export abstract class middleLayerBase extends cc.Component {
this.textureList.forEach(texture => { this.textureList.forEach(texture => {
texture.decRef(); texture.decRef();
cc.assetManager.releaseAsset(texture);
}); });
} }
......
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