[0]Image偶尔显示不了
用的是LayaAirIDE2.3,图片偶尔显示不了,经查parent,visible,x,y,width,height,alpha,skin都正常,资源所在图集也存在,不过小图的source的_referecentCount==0,_texture==null。不知是不是这个原因引起?
如附件图,black.png是用到的小图,所在图集为comui.atlas
如附件图,black.png是用到的小图,所在图集为comui.atlas
没有找到相关结果
已邀请:
要回复问题请先登录
5 个回复
哈密
赞同来自:
哈密
赞同来自:
如图,游戏主界面底部按钮列表(“基地按钮”,“野外按钮”,“主角按钮”,“阵容按钮”,“挂机按钮”,“挑战按钮”)中,"野外按钮”显示异常。
主界面是用.scene文件通过createChildren自动生成的。
异常显示的“野外按钮”内存如下:
bottom._bit==70,
bottom._bitmap._sp._bit ==70,
bottom._bitmap.source == "undefined "
bottom._bitmap._render == f _renderEmpty{};
其他正常显示的button内存如下:
bottom._bit = 70
bottom._bitmap._sp._bit ==70 或 bottom._bitmap._sp._bit ==214,
bottom._bitmap.source == Texture{...}
bottom._bitmap._render == f _renderOne{};
Yan
赞同来自:
yanmingjie
赞同来自:
哈密
赞同来自: