摘要:
1、选择你要自适应的panel 选择相对布局和自适应分辨率 2、选择要自适应的图片 选择模式Custom 选择百分比 图片的尺寸改为原始尺寸 阅读全文
摘要:
方法一 local widget = cc.uiloader:load("Test_1.json") --加载json文件 self:addChild(layer) layer:addChild(widget) local Node=cc.uiloader:seekNodeByPath(widget 阅读全文