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

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

251. 嵌套类型的protobuf报错 [ 67%]

...  这种嵌套类型的proto decode的时候报错   Uncaught TypeError: this.clazz is not a constructor     at Message.ProtoBuf.Reflect.MessagePrototype.decode (protobuf.js?tick=17185:3213)     at Element.ProtoBuf.Reflect.ElementPrototype.decode (protobuf.js?tick=17185:2201)     at Field.Pr...

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

252. laya.filters.NativeFilter_API3.0 [ 67%]

...个 Filter 实例。 Returns NativeFilter Methods Static _filter _filter(this: RenderSprite, sprite: Sprite, context: any, x: number, y: number): void Defined in laya/filters/NativeFilter.ts:36 Parameters this: RenderSprite sprite: Sprite context: any x: number y: number Returns void Globals "laya/f...

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

253. 解决游戏最小化退到后台后浏览器会强制1秒执行一次ILaya.stage._loop() [ 67%]

...  if (!ILaya.stage.isVisibility) {                 // this._timeId = window.setInterval(this._enterFrame, 1000);                 ILaya.m_worker.postMessage(['wait']);             }             else if (this._timeId != 0) {     ...

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

254. 发布QQ玩一玩,使用VScode,windows环境下打包问题。 [ 67%]

...     __proto._setClipChanged=function(){             if (!this._clipChanged){                 this._clipChanged=true;                 this.callLater(this.changeClip);             }         } 2018-10-27 0 0 分享 微博 QZONE 微...

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

255. 发布成微信小游戏,设置音乐startTime无效 [ 67%]

... 提交 1 个回复 Laya_Fred 赞同来自: 您好,通过您代码内的this.Music.startTime在浏览器web端上调用时可以的,this.Music在创建时候会返回一个webAudioSoundChannel时有这个属性的,在微信小游戏内,要对接微信原生的InnerAudioContext,如下图一...

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

256. laya.filters.Filter_API3.0 [ 66%]

...建一个 Filter 实例。 Returns Filter Methods Static _filter _filter(this: RenderSprite, sprite: Sprite, context: Context, x: number, y: number): void Defined in laya/filters/Filter.ts:38 Parameters this: RenderSprite sprite: Sprite context: Context x: number y: number Returns void Globals "laya...

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

257. domParser在哪儿 [ 66%]

..."text/xml"); 我照抄过来,总是报 warning:domParser.parseFromString This variable is not defined. 这个错,是咋回事? 2018-01-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 个回复 Laya_Aaron 赞同来...

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

258. box2d引擎报错问题 [ 66%]

..._update (laya.core.js:21262)   相关逻辑代码如下: moveSuccess(){ this.owner.removeSelf(); Laya.Pool.recover("flyCat", this.owner) } onTriggerEnter(other: any, self: any, contact: any): void { if (other.label === "cloud") { Laya.Tween.clearAll(this._sp) let effect: Laya.Animation = Laya.Poo...

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

259. 编译前(AS)和编译后(JavaScript)程序的行为是不一致的,求最佳实践和原理。 [ 66%]

...方式支持,之所以没有输出是由于你method的作用域错了,this指向的不是当前类,而是window,使用Handler可以直接传作用域(为当前类),所以Handler输出的结果是对的,建议使用Handler! 2016-12-13 0 2 分享 微博 QZONE 微信 为什么被折叠...

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

260. 能不能增加Array的部分方法,比如shift,unshift,removeAt? [ 66%]

...ncil功能 Laya.Media方法调用失败 调用动画结束on方法,报错this.zombieAnimator.on is not a function Native 在iOS上支付失败的问题,及临时解决方法 官网提供的一些修改过的第三方库,以后是否有打算增加一些as的mvc框架的支持库 问题状态 ...

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