大约有 55 项符合查询结果, 库内数据总量为 30,778 项。 (搜索耗时: 0.0030 秒)
...s GameSceneuiUI extends Laya.Scene { public static uiView:any ={"type":"Scene","props":{"width":720,"height":1280},"compId":2,"child":[{"type":"Button","props":{"y":616,"x":296,"skin":"comp/button.png","name":"butStart","label":"label"},"compId":3}],"loadList":["comp/button....
来源: Laya_社区 发布时间: 20200228
...于分离模式View类的loadUI方法 __proto.loadUI=function(path){ var uiView=View.uiMap[path]; uiView && this.createView(uiView); } 发现uiMap这个容器永远都是空的,无法调用到createView。请指点。 2018-05-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20180512
...的DEMO中,代码见附件 只要把role_test.scene中的sprite放在UIVIEW之上,2D物理系统关节绑定就会出错! 如果sprite放在UIVIEW之下,就可以正常绑定,百思不得其解请官方帮忙看一下,项目时间很紧,工作量又大,现在出现这个问题卡...
来源: Laya_社区 发布时间: 20190919
...omponent.prototype.createChildren.call(this); this.createView(loadingjzaUI.uiView); } loadingjzaUI.uiView={"type":"View","props":{"width":192,"height":269},"compId":1,"child":[{"type":"Image","props":{"y":0,"x":0,"skin":"loading/dt_jza_loadtuan_zj.png"}},{"type":"Box","props":{"y":0,"x":0},"child":[...
来源: Laya_社区 发布时间: 20170725
...ublic var gongji:Button; public var btn1HasLabel:Button; public static var uiView:Object = {"type": "View", "props": {"x": "0", "y": "0", "width": 388, "height": 376}, "child": [{"type": "ComboBox", "props": {"var": "combox", "stateNum": "1", "x": 7, "y": 146, "width": 91, "height": 23, "skin": "Mai...
来源: Laya_社区 发布时间: 20180327
...a.ui.Component.prototype.createChildren.call(this); this.createView(testUI.uiView); } testUI.uiView={"type":"Dialog","props":{"width":266,"height":720},"child":[{"type":"Image","props":{"y":0,"x":0,"skin":"poker/bottom_slider.png"}}]}; return testUI; })(Dialog);我定义了一个对象来使用它 v...
来源: Laya_社区 发布时间: 20180325
... export module ui { export class HelloUI extends Scene { public static uiView:any ={"type":"Scene","props":{"width":640,"height":1136},"compId":2,"child":[{"type":"Label","props":{"y":64,"x":214.5,"width":211,"text":"label","styleSkin":"comp/label.png","height":67},"compId":3}],"loadList":["comp/...
来源: Laya_社区 发布时间: 20190625
...s"} ]; Laya.loader.load(loadArray, Handler.create(null, ()=>{ this.uiView = new SharkItOff(); Laya.stage.addChild(this.uiView); })); 先加载图集,图集加载完再new一个界面。但是界面里的图片都不显示 thekingreturn • 2018-03-27 20:42 [warn]Retry to load: games/game_1...
来源: Laya_社区 发布时间: 20180327
... constructor(){ super(); this.ani1=null; this.effectData =ui.kick_effectUI.uiView;; } } kick_effectUI.uiView={"type":"View","props":{},"compId":2,"child":[{"type":"Sprite","props":{"y":0,"x":0,"texture":"ani/p1.png"},"compId":3}],"animations":[{"nodes":[{"target":3,"keyframes":{"scaleY":[{"value":1,...
来源: Laya_社区 发布时间: 20210111
...布的UI类(默认模式) 分离模式下发布的UI类(很明显uiView数据已经没有了,因为它被单独分离成一个json文件了) 单独分离出来的文件 下面我们需要做的就是将分离出来的文件应用在我们的项目中,让项目正常加载 步骤一:...
来源: Laya_社区 发布时间: 20161202