AutoAtlas
自动合图问题
在开发模式下浏览器模式无法使用
cc.Class({
extends: cc.Component,
properties: {
atls:{
default: null,
type: cc.SpriteAtlas
}
},
onLoad(){
console.log( this.atls.getSpriteFrame(“HelloWorld”) );//这行输出为null , 打包出来才会有。就不能本地开发也生效吗 引擎组的朋友们
}
});
@huanxinyin