大约有 4 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0036 秒)
...end(buffer); } private onMessageReceived(message: any): void { if (message instanceof ArrayBuffer) { // 创建 DataView 来解析 ArrayBuffer const view = new DataView(message); try { // 解析数据 const num1 = view.getInt32(0, true); // 小端字节序 const num2 = view.getInt32(4, true); // 打...
来源: Laya3.0_文档 发布时间: 20251010
... (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
... < 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
... < 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