• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 2,837 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0081 秒)

2261. linux执行cmd报错 [ 52%]

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

2262. 【laya2.0】请问drawToCanvas方法改了吗? [ 52%]

...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

2263. RopeJoint代码动态创建 无法设置otherbody等属性 [ 52%]

...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

2264. 选择压缩混淆 JS发布项目,protobuf解析报错 [ 52%]

...缩一下,但是压缩后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

2265. 设置app开始时的动画报错 [ 52%]

....ts' severity: '错误' message: 'Property 'loadingView' does not exist on type 'Window'.' at: '21,23' source: 'ts'

来源: Laya_社区 发布时间: 20180418

2266. 项目发布问题 [ 52%]

...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

2267. List设置滚动到指定位置之后,无法往回拖动 [ 52%]

...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

2268. 图集打包后使用Texture不显示,项目整个已经传上来了 [ 52%]

... { 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

2269. MAC系统下使用IDE的场景编辑器时用MacBook的触摸板轻击有问题 [ 52%]

... LayaAirIDE下如何使用mask? 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. FairyGUI是一款专业的 UI编辑器(千万别点) laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 ios14系统下 blendMode='l...

来源: Laya_社区 发布时间: 20161222

2270. 预设怎么在代码中使用 [ 52%]

...呢?比如position或者scale 使用3D时候,Property 'getComponentByType' does not exist on type 'Node'. 微信小游戏如何使用ttf字体? 微信小游戏:HTMLDivElement的使用 LayaAirIDE下如何使用mask? 使用钢体设置防穿后仍有几率会穿透 关于使用matterjs物理...

来源: Laya_社区 发布时间: 20180823