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

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

11. 对游戏中各种控件字体样式使用“白鹭style”样式表 [ 49%]

...完成之后的回调函数 if (item.onComplete && item.onComplete instanceof Laya.Handler) { item.onComplete.runWith(content); } if (!content) success = false; if (loadedCount === itemCount && complete) { complete.runWith(success); } } function loadProgress(item, value) { if (progre...

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

12. socket大型项目回调 [ 48%]

...ya.Byte = new Laya.Byte(); // this.socket.input.readBytes(byte); if (event instanceof ArrayBuffer){ var byte:Laya.Byte = new Laya.Byte(event); this.socket.input.clear(); this.processPackage(this._package.decode(byte)); } } private sendMessage(reqId, route, msg) { var byte:Laya.Byte; // var msgbuffer...

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

13. 网络通信 · LayaAir3文档 · LAYABOX [ 47%]

... (typeof (message) == 'string') { console.log(message); } else if (message instanceof ArrayBuffer) { console.log(new Byte(message).readUTFBytes()); } // 清理缓存的服务端发来的数据 this.socket.input.clear(); } // 出现异常后的事件回调 private onConnectError(e: Event = null): voi...

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

14. 3D粒子 · LayaAir3.4 · 引擎文档 · LAYABOX [ 43%]

... < len; i++) { var child:Node = this._particle.getChildAt(i); if (child instanceof Laya.ShuriKenParticle3D) { this._shuriKenParticle3D.push(child); this._shurikenParticleSystem.push(child.particleSystem); } } this.addChild(this._particle); this._isInited = true; } //粒子特效播放,由于一...

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

15. 3D粒子编辑模块 · LayaAir3文档 · LAYABOX [ 43%]

... < len; i++) { var child:Node = this._particle.getChildAt(i); if (child instanceof Laya.ShuriKenParticle3D) { this._shuriKenParticle3D.push(child); this._shurikenParticleSystem.push(child.particleSystem); } } this.addChild(this._particle); this._isInited = true; } //粒子特效播放,由于一...

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

16. Laya中Button等组件lose skin的问题 [ 39%]

...oreCache===void 0)&& (ignoreCache=false);         if ((url instanceof Array))return this._loadAssets(url,complete,progress,type,priority,cache,group);         var content=Loader.getRes(url);         if (content !=null){             Laya.timer.frameOnce(1,n...

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