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

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

2451. loadLib("libs/laya.device.js"); native上会随机宕 [ 54%]

...dren){         (detroyChildren===void 0)&& (detroyChildren=true);         _super.prototype.destroy.call(this,detroyChildren);         // native会崩溃         // this.videoElement.removeEventListener("abort",Video.onAbort);         // this.videoEleme...

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

2452. Laya.Geolocation使用报错 [ 54%]

...location时会报错 代码如下: Laya.Geolocation.enableHighAccuracy = true; Laya.Geolocation.watchPosition(Laya.Handler.create(this, this.updatePosition), Laya.Handler.create(this, this.onError)); 报错如下: TypeError: Cannot set property 'enableHighAccuracy' of undefined 会出现无法...

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

2453. Laya270bete ,带刚体模型运动中缩放后被强制复位到0 [ 54%]

...ion来控制的,如果想要控制 请将rigidbody的isKinematic设置为true,就可以用引擎的transform scale rotation来控制了 2020-07-13 1 0 分享 微博 QZONE 微信 少佳 赞同来自: 好的谢谢呀,辛苦了 2020-07-14 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个...

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

2454. SyntaxError: missing ) after argument list [ 54%]

...ollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 在List渲染的时候,在滚动一个list的时候,如何实现另一个list也跟着滚动,并且两个list同时滚动一模一样。 2.0 beta4 ts 含demo 在纵向滑动 list 的 renderHandler中...

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

2455. laya.components.AnimatorState2D_API3.0 [ 54%]

...ns boolean 此事件类型是否有侦听者,如果有侦听者则值为 true,否则值为 false。 getScript getScript(type: typeof AnimatorStateScript): AnimatorStateScript | null Defined in laya/components/AnimatorState2D.ts:231 获取脚本。 Parameters type: typeof AnimatorStateScript 组...

来源: Laya3.0_api 发布时间: 20231115

2456. 设置半透遮罩层后,无法屏蔽穿透点击事件 [ 54%]

...maskArea.mouseThrough = false;这句话去了改成maskArea.mouseEnabled = true; 东南西北风 • 2018-09-12 10:10 找到问题了,需要stopPropagation一下,非常感谢!

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

2457. socket连续发送消息导致无法写出 [ 54%]

...ollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 Adobe Flash Builder 4.7无法编译Laya2.6.1创建的3D示例项目 问题状态 最新活动: 2017-07-11 10:31 浏览: 1176 关注: 2 人

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

2458. matter,添加刚体时,怎么给刚体设置name,才能在stage对象里取得到? [ 54%]

...ollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 anchor锚点设置不生效 问题状态 最新活动: 2017-11-21 11:49 浏览: 956 关注: 2 人

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

2459. 一行居中的动态文字,怎么设置不同样式。 [ 54%]

...ollBar设置mouseWheelEnable=false后过一段时间设置mouseWheelEnable=true;无法滚动 请问一下怎样动态加载prefab 问题状态 最新活动: 2017-04-13 10:48 浏览: 1115 关注: 3 人 jweilan • 2017-04-13 10:53 好。谢谢

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

2460. drawToCanvas的问题 [ 54%]

...MLCanvas = sp.drawToCanvas(256,256,0,0); //img.loadImageSource(html.source,true); //html.clear(); //html.destroy(); mat.albedoTexture.destroy(); // 先删除旧的 mat.albedoTexture = tex.bitmap; // 再设置新的 // 可以用 drawtotexture这种方式 // 这种比drawToCanvas效率要高,但是...

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