大约有 48 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0030 秒)
...于分离模式View类的loadUI方法 __proto.loadUI=function(path){ var uiView=View.uiMap[path]; uiView && this.createView(uiView); } 发现uiMap这个容器永远都是空的,无法调用到createView。请指点。 2018-05-12 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有...
来源: Laya_社区 发布时间: 20180512
...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
... 1 个回复 Laya_Aaron 赞同来自: ide 发布后生成的大概形如 uiView:Object 这个对象你改里面的东西 把runtime 按对应结构加进去就可以。 ide生成的也是这个配置 2018-03-27 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问...
来源: Laya_社区 发布时间: 20180327
....js 这个文件怎么生成的? STATICATTR$(TestPageUI, ['uiView',function(){return this.uiView={"type":"View","child":[{"props":{"x":0,"y":0,"skin":"comp/bg.png","sizeGrid":"30,4,4,4","width":600,"height":400},"type":"Image"},{"props":{"x":41,"y":56,"skin":"comp/button.png","label"...
来源: Laya_社区 发布时间: 20170330