大约有 169 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0041 秒)
...ya.Event.COMPLETE, this, this.parseComplete); this.m_templet.on(Laya.Event.ERROR,this,this.onError); this.m_templet.loadAni("res/spine/goblins/goblins.sk"); } private onError():void { console.log("parse error"); } private parseComplete() : void { let skeleton0 : Laya.Skeleton; skeleton0 = this.m_tem...
来源: Laya_社区 发布时间: 20180126
...a.Event.OPEN, this, this.onConected); this.on(Laya.Event.ERROR, this, this.onError); } public conectToServer(): void { //“连接”按钮的回调 if (this.connected) return; super.connect(IP, PORT); } ...
来源: Laya_社区 发布时间: 20170602
...一<code>Position</code>参数的回调处理器。 * @param onError 可选的。带有错误信息的回调处理器。错误代码为Geolocation.PERMISSION_DENIED、Geolocation.POSITION_UNAVAILABLE和Geolocation.TIMEOUT之一。 */ static getCurrentPosition(onSuccess: Handler, onError:...
来源: Laya3.0_文档 发布时间: 20251010
...); socket.on(Event.MESSAGE, this, this.onMessageReveived); socket.on(Event.ERROR, this, this.onConnectError); } onSocketOpen() { console.log("Connected"); // 发送字符串 socket.send("demonstrate "); // 使用output.writeByte发送 let message = "demonstrate "; for (let i = 0; i "); // 使用outp...
来源: Laya2.0_示例 发布时间: 20251130
...n(Laya.Event.STOPPED,this,this.parseComplete); this.mFactory.on(Laya.Event.ERROR, this, this.onError); this.mFactory.loadAni("res/games/Game_ddz/animation/ddz_figures_landlord.sk"); } private onError(): void { console.log("error"); } private parseComplete(): void { console.error("地主加载...
来源: Laya_社区 发布时间: 20190821
...void { Editor.showDialog(SplitAtlasDialog, null).catch(err => { console.error(`? SplitAtlas 弹出失败`, err); }); } } 2025-07-31 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 0 个回复 为什么被折叠? 0 ...
来源: Laya_社区 发布时间: 20250731
..., this.parseComplete,[parent,mFactory]); mFactory.on(Event.ERROR, this, this.onError); mFactory.loadAni(path); } onError() { trace("error"); } parseComplete(parent,mFactory) { // 创建模式为1,...
来源: Laya_社区 发布时间: 20190730
...录 发起人 haliluya 相关问题 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 谷歌浏览器播放mp3出现The AudioContext was not...
来源: Laya_社区 发布时间: 20151201
...404 Not Found” 表示请求的资源不存在;“500 Internal Server Error” 表示服务器内部出现错误。 响应头部包含了关于响应的各种信息,如内容类型(Content - Type)、内容长度(Content - Length)、服务器软件(Server)等。例如,“Content - ...
来源: Laya3.0_文档 发布时间: 20251010
...if (!data){ this.event(/*laya.events.Event.ERROR*/"error","file not find"); return; } // console.log("this['_atlasPath']---->",this['_atlasPath']); var atls_ary:...
来源: Laya_社区 发布时间: 20180615