onLoad()
{
dynamicAtlasManager.enabled = true;
dynamicAtlasManager.maxFrameSize = 2048;
dynamicAtlasManager.maxAtlasCount = 10;
}
start() {
resources.load("skill_1/spriteFrame",SpriteFrame,(error,frame)=>
{
console.log(error);
let textrue = dynamicAtlasManager.insertSpriteFrame(frame);
console.log(textrue);
});
}
这样 每次插入都不成功的