大约有 1,617 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0067 秒)
Laya_社区(1208) Laya2.0_文档(194) Laya_示例(55) Laya3.0_api(49) Laya3.0_文档(43) Laya2.0_示例(43) Laya2.0_api(13) laya_api(12)
...eSweeper6[7091:2932001] Download [ ]:http://stand.alone.version/index.html Creating context 1024, 768, 22018-03-15 11:24:58.270942+0800 MineSweeper6[7091:2932001] curl_easy_perform failed, code=6 src=http://stand.alone.version/index.html 2018-03-15 11:24:58.271059+0800 MineSweeper6[7091:2932001] Dow...
来源: Laya_社区 发布时间: 20180315
... "#232628"; Laya.loader.load("res/ui/refreshList/ani/refresh.png", Handler.create(this, function(){ this.initView(); })); } initView(){ // 加载并添加场景中需要使用的资源 this.baseBox = new Box(); this.baseBox.width = 443; this.baseBox.height = 622; this.baseBox.pos(30, 28); this.baseB...
来源: Laya2.0_示例 发布时间: 20260303
...件: Laya.loader.load("res/atlas/template/QuestionDialog.atlas", Handler.create(null)); 对应的场景代码里: var dialog = new QuestionDialogUI(); Laya.stage.addChild(dialog); dialog.popup(); dialog.btn_question_dialog_next.on(Laya.Event.CLI...
来源: Laya_社区 发布时间: 20180718
... //这里是我注释掉的代码 //Laya.loader.load(this.ApePath, Handler.create(this, this.setup)); this.setup(); } private setup(): void { this.createApe(); this.showDragRegion(); } private createApe(): void { this.ape = new Sprite(); //this.ape.loadImage(this.ApePath); Laya.stage.addChild(this.a...
来源: Laya_社区 发布时间: 20171106
...o"); var ProtobufUtil = com.bee.protobuf; let msg = ProtobufUtil.ProtoArea.create(); let buffer = ProtobufUtil.ProtoArea.encode(msg).finish(); let decode = ProtobufUtil.ProtoArea.decode(buffer); console.log("test"); console.log(`buffer = ${Array.prototype.toString.call(buffer)}`); } 然后用impor...
来源: Laya_社区 发布时间: 20171115
...imen/env/' + env + '/envinfo.json'; Laya.loader.load(envinfo, Laya.Handler.create(this, onEnvDescLoaded, [envinfo, '../../res/threeDimen/env/' + env + '/'])); function onEnvDescLoaded(envinfo, envpath) { var envinfoobj = Laya.loader.getRes(envinfo); var camera = new Laya.Camera(0, 0.1, 1000); if (en...
来源: Laya_示例 发布时间: 20260303
....stage.bgColor = "#232628"; //加载资源 Laya.loader.load(skins, Handler.create(this, onSkinLoadComplete)); } /***加载资源完成***/ private function onSkinLoadComplete(e:*=null):void { //创建垂直滚动条 createVScroller(); } /***创建垂直滚动条***/ private function createVScroller(...
来源: Laya2.0_文档 发布时间: 20210715
....stage.bgColor = "#232628"; //加载资源 Laya.loader.load(skins, Handler.create(this, onSkinLoadComplete)); } /***加载资源完成***/ private function onSkinLoadComplete(e:*=null):void { //创建水平滚动条 createHScroller(); } /***创建水平滚动条***/ private function createHScroller(...
来源: Laya2.0_文档 发布时间: 20210714
...ls插件版本1.7.16beta 导出的文件夹放到bin目录, 用Laya.loader.create读取.lh文件报错, laya.d3.js:15158 Uncaught TypeError: Cannot read property 'props' of undefinedat Function.Laya3D._getSprite3DHierarchyInnerUrls (laya.d3.js:15158) at Loader.Laya3D._onHierarchylhLoaded (laya.d3...
来源: Laya_社区 发布时间: 20181013
...der.load([{url:"res/atlas/comp.json",type:Laya.Loader.ATLAS}],Laya.Handler.create(this,this.loadComp)); } private loadComp():void{ var parent:ui.ParentViewUI = new ui.ParentViewUI(); Laya.stage.addChild(parent); //当注释掉设置rotaion的代码则没有问题,否则会导致显示异常,其他...
来源: Laya_社区 发布时间: 20170829