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

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

81. 微信小游戏加载资源问题 [ 37%]

...audio = audio; this._miniSound = miniSound; this._onEnd = MiniSoundChannel.bindToThis(this.__onEnd, this); audio.onEnded(this._onEnd); } static bindToThis(fun, scope) { var rst = fun; rst = fun.bind(scope); return rst; } __onEnd() { if (this.loops == 1) { if (this.completeHandler) { Laya.Laya.system...

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

82. UI-RefreshList [ 28%]

...动接口 this.refreshList.scrollBar.stopMoveLimit = this.scrollBarIsStopBind.bind(this); this.refreshLimit("dragTopLimit", 65); this.refreshLimit("dragBottomLimit", 65, 20); //绑定单元格鼠标处理 this.refreshList.mouseHandler = new Handler(this, this.onListMouse); // 提示文字 var image ...

来源: Laya2.0_示例 发布时间: 20260303

83. 打CPK包在手机上运行会白屏,手机测试型号VIVO1419L。 [ 26%]

...10-13 17:31:15.881 6514-6514/com.vivo.vs V/WebViewChromiumFactoryProvider: Binding Chromium to main looper Looper (main, tid 1) {25a03ee} 10-13 17:31:15.881 6514-6514/com.vivo.vs I/LibraryLoader: Expected native library version number "",actual native library version number "" 10-13 17:31:15.881 651...

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

84. socket大型项目回调 [ 26%]

...+ self.heartbeatTimeout; self.heartbeatTimeoutId = self.heartbeatTimeoutCb.bind(self,data); Laya.timer.once( self.heartbeatTimeout,self,self.heartbeatTimeoutCb.bind(self,data)); }) } private heartbeatTimeoutCb(data) { var gap = this.nextHeartbeatTimeout - Date.now(); if(gap > this.gapThreshold) {...

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

85. LayaAir能做RPG吗?不要问我能不能,因为我已经在做 - 杀意来袭 [ 18%]

...量回收后置空处理,如需要使用回调逻辑可以使用方法并bind域:如callback.bind(作用域)来实现。【感谢冰萧的指点,还给我写例子熟悉用法】 3.byte 相信大多数aser都习惯了读取byte直接读,发现外部生成的二进制文件加载到laya里...

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

86. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 18%]

...ath=/data/data/com.layabox.game//LayaCache/localstorage V/WebViewChromium: Binding Chromium to the background looper Looper (main, tid 1) {4a7bba70} I/chromium: [INFO:library_loader_hooks.cc(112)] Chromium logging enabled: level = 0, default verbosity = 0 I/BrowserProcessMain: Initializing chromium ...

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

87. dcc更新失效, 有代码, 100%复现, 三楼附临时解决办法 [ 18%]

...5:59:48.898 7562-7562/com.dihong.testdcc V/WebViewChromiumFactoryProvider: Binding Chromium to main looper Looper (main, tid 1) {422db6b0} 05-16 15:59:48.898 7562-7562/com.dihong.testdcc I/LibraryLoader: Expected native library version number "",actual native library version number "" 05-16 15:59:48...

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

88. dcc下载超时 [ 17%]

...eviously-failed class java.lang.Class<com.android.webview.chromium.TokenBindingManagerAdapter> 07-04 20:55:27.376: I/art(7884): Rejecting re-init on previously-failed class java.lang.Class<com.android.webview.chromium.TokenBindingManagerAdapter> 07-04 20:55:27.385: I/cr_LibraryLoader(788...

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

89. LayaAir和原生DOM交互(ActionScript-2D进阶篇(AS3)-扩展模块) [ 16%]

...eteHandler(e:Object):void { audioContext.decodeAudioData(e,decodeAudioData.bind(this)); } private function decodeAudioData(buffer:Object):void { audioBufferSourceNode = audioContext.createBufferSource(); audioBufferSourceNode.connect(analyser); analyser.connect(audioContext.destination); audioBuffer...

来源: Laya2.0_文档 发布时间: 20210715

90. 和原生Dom交互 · LayaAir3.4 · 引擎文档 · LAYABOX [ 15%]

...ler(e:any):void { this.audioContext.decodeAudioData(e,this.decodeAudioData.bind(this)); } private decodeAudioData(buffer:any):void { this.audioBufferSourceNode = this.audioContext.createBufferSource(); this.audioBufferSourceNode.connect(this.analyser); this.analyser.connect(this.audioContext.destina...

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