大约有 324 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0050 秒)
Laya_社区(266) Laya2.0_文档(18) Laya3.0_文档(8) Laya2.0_示例(8) Laya_示例(7) Laya3.0_api(7) laya_api(5) Laya2.0_api(5)
... Laya中的宏编译要怎么用啊 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 分享:打地鼠 AS、JS、TS版本 Demo! ide 2.4 layaair2-cmd 编译报错 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出...
来源: Laya_社区 发布时间: 20191011
...aya.Event.CLOSE, this, this.closeHandler); this.socket.on(Laya.Event.ERROR, this, this.errorHandler); private openHandler(event: any = null): void { //正确建立连接; this.gameInfo.info("Connected !"); // 显示已经连接 } 2018-05-10 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20180510
解析sk资源报错 GameDemo.max.js:21170 Uncaught RangeError: Offset is outside the bounds of the DataView 代码: package com.ppt.components.role { import laya.ani.bone.Skeleton; import laya.ani.bone.Templet; import laya.events.Event; public class CombatR...
来源: Laya_社区 发布时间: 20170204
..._sound.on(Laya.Event.PROGRESS,this,this.loadcom_f); bg_sound.on(Laya.Event.ERROR,this,this.loadcom_f); bg_sound.load("res/bg.mp3"); private loadcom_f(e:Laya.Event):void{ console.log("------------------=============") }可是这么写了一户,发现loadcom_f根本就没有被调用,还希望各...
来源: Laya_社区 发布时间: 20160805
...emplet.on(Event.COMPLETE, this, this.parseComplete); this.templet.on(Event.ERROR, this, this.onError) } private parseComplete(): void { this.skeleton = this.templet.buildArmature(); Laya.stage.addChild(this.skeleton); this.skeleton.pos(Browser.width / 2, Browser.height / 2 + 100); this.skeleton.scal...
来源: Laya2.0_文档 发布时间: 20210715
...nt添加&字符会报错 LayaSample.max.js:22828 Uncaught (in promise) Error: This page contains the following errors:error on line 1 at column 71: xmlParseEntityRef: no name 2018-10-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的...
来源: Laya_社区 发布时间: 20181024
...子协议,连接才能建立成功,否则建立失败,派发 Event.ERROR 事件。 see https://html.spec.whatwg.org/multipage/comms.html#dom-websocket Static BIG_ENDIAN BIG_ENDIAN: string = "bigEndian" Defined in laya/net/Socket.ts:43 主机字节序,是 CPU 存放数据的两种不同顺序...
来源: Laya3.0_api 发布时间: 20231115
...收到消息抛出的事件 Event.CLOSE :socket关闭抛出的事件 Event.ERROR :连接出错抛出的事件 ``` 上面这四个事件是必须的,这也是我们处理网络消息的前提。 新建一个LayaAir空项目。声明一个Socket实例,声明一个Byte实例: ```typescript //初...
来源: Laya2.0_文档 发布时间: 20210714
...andler);this.socket.on(Event.CLOSE,this,closeHandler);this.socket.on(Event.ERROR,this,errorHandler); 回到方法 成功失败。。 private function openHandler(event:Object = null):void{//正确建立连接; }private function receiveHandler(msg:Object = null):void{///接收到数据触发函数...
来源: Laya_社区 发布时间: 20180514
...rl); if (!config?.url) { console.error(`SoundManager: 无效的BGM ID [${url}]`); return; } urlStr = config.url; } else urlStr = url; if (isBreak &&am...
来源: Laya_社区 发布时间: 20250930