mirror of
https://github.com/smallmain/cocos-enhance-kit.git
synced 2025-09-24 08:50:16 +00:00
[engine] 新动态图集实现
This commit is contained in:
@@ -828,6 +828,11 @@ let SpriteFrame = cc.Class(/** @lends cc.SpriteFrame# */{
|
||||
handle.result.push(this, '_textureSetter', textureUuid);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
destroy() {
|
||||
cc.dynamicAtlasManager && cc.dynamicAtlasManager.deleteSpriteFrame(this);
|
||||
this._super();
|
||||
}
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user