[]exception info:[TypeError:undefined is not an object(evaluating'tInfo[0].attributes')] at line 764
安卓上打包运行没问题
iphone上打包运行弹窗报以上alert,请问我该如何定位这个alert
iphone上打包运行弹窗报以上alert,请问我该如何定位这个alert
没有找到相关结果
已邀请:
要回复问题请先登录
4 个回复
archerxy
赞同来自: cuixueying
var tPadding=tInfo[0].attributes["padding"].nodeValue;
找到最终问题了,fnt文件格式问题
cuixueying
赞同来自:
archerxy
赞同来自:
let blueFnt = new Laya.BitmapFont();
blueFnt.loadFont("common/number_blue.fnt", new Handler(this, () => {
Laya.Text.registerBitmapFont("number_blue", blueFnt);
}));
但具体原因不清楚
能否请官方测试下bmfont在iphone上运行情况
cuixueying
赞同来自: