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

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

581. socket大型项目回调 [ 27%]

...;& data.sys.heartbeat) { this.heartbeatInterval = data.sys.heartbeat * 1000; // heartbeat interval this.heartbeatTimeout = this.heartbeatInterval * 2; // max heartbeat timeout } else { this.heartbeatInterval = 0; this.heartbeatTimeout = 0; } if(typeof this.handshakeCallback === 'function') { thi...

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

582. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 26%]

...; case 'END': console.log(`Finished 'rebuild' after ${((Date.now() - tS) / 1000).toFixed(2)} s`); break; case 'ERROR': case 'FATAL': for (const k of Object.keys(event.error)) { delete event.error[k]; } console.log(event.error); break; case 'BUNDLE_END': config.cache = event.result.cache; break; case...

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

583. LAYABOX游戏实时语音之APP版本 [ 24%]

...ong endTime = System.currentTimeMillis(); if (endTime - mPTTStartTime < 1000){ ExportJavaFunction.CallBackToJS (this, "onTouch", "录音时间过短"); }else{ ExportJavaFunction.CallBackToJS (this, "onTouch", "正在发送语音"); stopAndSendAudio(); } return true; default: break; } return false...

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

584. native2.1 安卓退到后台时,概率闪退 [ 24%]

...seActivity(ActivityThread.java:3305) 14 android.app.ActivityThread.access$1000(ActivityThread.java:174) 15 android.app.ActivityThread$H.handleMessage(ActivityThread.java:1409) 16 android.os.Handler.dispatchMessage(Handler.java:110) 17 android.os.Looper.loop(Looper.java:229) 18 android.app.Activ...

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

585. 打包安卓Android studio黑屏 [ 21%]

...pl: set config for com.layabox.test BOOST_FLAG=false REPORT_DURATION_CLICK=1000 REPORT_TIMES_CLICK=3 REPORT_DURATION_SLIDE=5000 REPORT_TIMES_SLIDE=16 D/OpenGLRenderer:   HWUI Binary is  enabled     disableOutlineDraw is true D/a: Mainactivity---------------------------------oncreate     Maina...

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

586. laya.d3.core.BaseCamera_API3.0 [ 17%]

...alue nearPlane: number = 0.3 近裁面。 Default value farPlane: number = 1000 远裁面。 Returns BaseCamera Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _forward _forward: Vector3 = new Vector3() Defined in laya/d3/core/BaseCamera.ts...

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

587. 【简单跑酷--JS版】---Lv.6 终篇 [ 17%]

... Tween.to(this.spiritEffect, {scaleX : 0.1, scaleY : 0.1, rotation : 360}, 1000, null, Handler.create(this, this.spiritEffectTweenComplete)); } _proto.spiritEffectTweenComplete = function(){ this.spiritEffect.visible = false; this.spiritEffect.scale(5, 5); this.bodyEffect1.visible = true; this.bodyE...

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

588. 精灵 · LayaAir3.4 · 引擎文档 · LAYABOX [ 16%]

...罩 setTimeout(() => { sprite.mask = mask;//等待1秒执行遮罩 }, 1000); 运行效果如下: (动图3-5) 3.4.6 设置点击区hitArea 鼠标操作相关属性较多,但是代码的使用都类似,这里以hitArea为例,示例代码如下: let sp = new Laya.Sprite(); Laya.stage.a...

来源: Laya3.0_文档 发布时间: 20251010

589. lib/arm/liblayaair.so 总是崩溃 [ 14%]

...li-T624 08-14 10:57:49.234 22858-22354/? A/google-breakpad: H 12C00000 FFFF1000 00C7 32EDB000 98524000 0C:21 0D:18 0E:28 0F:08 10:05 11:07 12:04 13:08 14:0E 15:0A 16:0A 17:11 18:06 19:07 1A:03 1C:02 1D:01     S 0 CDCD9060 CDCD9000 00001000 08-14 10:57:49.237 22858-22354/? A/google-breakpad: S CDCD...

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

590. 构建apk后,java报错 [ 14%]

...eiver 0 2018-11-26 18:35:10.175 2476-2947/? W/WakelockManagerService: uid: 1000 is unblock state 2018-11-26 18:35:10.175 2476-2947/? W/WakelockManagerService: uid: 1001 is unblock state 2018-11-26 18:35:10.176 2476-2947/? W/WakelockManagerService: uid: 1002 is unblock state 2018-11-26 18:35:10.176 2...

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