大约有 2,837 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0081 秒)
Laya_社区(1676) Laya3.0_api(668) Laya2.0_文档(133) Laya2.0_api(128) laya_api(122) Laya3.0_文档(83) Laya2.0_示例(16) Laya_示例(11)
linux执行cmd报错 type: Linux appPath: /usr/lib/node_modules/layaair-cmd/ProjectExportTools/ openProject: /home/coding/workspace/game/laya/.laya loadProject: /home/coding/workspace/game/laya/.laya assetsPath: /home/coding/workspace/game/laya/assets PageStyleManager 读取文件/home/coding/works...
来源: Laya_社区 发布时间: 20180428
...s.getCanvas(); var base64=canvas.toDataURL("image/png"); 报错:Uncaught TypeError: Failed to execute 'bindTexture' on 'WebGLRenderingContext': parameter 2 is not of type 'WebGLTexture'. 2018-10-10 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容...
来源: Laya_社区 发布时间: 20181010
...6; img.addComponent(RigidBody); (img.getComponent(RigidBody) as RigidBody).type="kinematic"; img2.addComponent(RopeJoint); (img2.getComponent(RopeJoint) as RopeJoint).otherBody=img.getComponent(RigidBody) as RigidBody; (img2.getComponent(RopeJoint) as RopeJoint).otherAnchor=new Array()[128,128]; (im...
来源: Laya_社区 发布时间: 20200217
...缩一下,但是压缩后protobuf在解析的时候报decode错 skipType的wireType只有5个类型,为什么会报6 Reader.prototype.skipType = function(wireType) { switch (wireType) { case 0: this.skip(); break; case 1: this.skip(8); break; case 2: this.skip(this.uint32()); break; cas...
来源: Laya_社区 发布时间: 20191202
....ts' severity: '错误' message: 'Property 'loadingView' does not exist on type 'Window'.' at: '21,23' source: 'ts'
来源: Laya_社区 发布时间: 20180418
...e', 'releasemode=normal', 'exportUICode=true', 'exportRes=true' ] type: Darwin appPath: /usr/local/lib/node_modules/layaair-cmd/ProjectExportTools/ openProject: /Users/xxx/Desktop/chickenGame/chicken_game/laya/.laya loadProject: /Users/xxx/Desktop/chickenGame/chicken_game/laya/.laya assetsP...
来源: Laya_社区 发布时间: 20190322
...ot;"; let hasHeroArr:Array<any> MsgFactory.inst.heroMessasge.getTypeHeroList(HeroMessage.HERO_TYPE_ALL,2); this.herolist.repeatX = hasHeroArr.length; this.herolist.dataSource = hasHeroArr; this.herolist.scrollTo(8) 大体是这样的
来源: Laya_社区 发布时间: 20171227
... { var assets: Array<any> = []; assets.push({ url: "res/start.json", type: Loader.ATLAS}); Laya.loader.load(assets, Handler.create(this, this.onComplete)); } private onComplete(): void { var texture:Texture = Laya.loader.getRes("start/sg.png"); var sp = new Laya.Sprite(); sp.graphics.drawTextu...
来源: Laya_社区 发布时间: 20170329
... LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. FairyGUI是一款专业的 UI编辑器(千万别点) laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 ios14系统下 blendMode='l...
来源: Laya_社区 发布时间: 20161222
...呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使用ttf字体? 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 使用钢体设置防穿后仍有几率会穿透 关于使用matterjs物理...
来源: Laya_社区 发布时间: 20180823