大约有 169 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0046 秒)
[0]Spine3.8.75报错:Error: Unsupported skeleton data, please export with a newer version of Spine. 我使用spine3.8.75导出的文件无法使用。代码是使用的2.12.2beta1引擎示例的源码。 var Browser = Laya.Browser; var WebGL = Laya.WebGL; var Stage = Laya.Stage; var Event = La...
来源: Laya_社区 发布时间: 20211013
...t.on(Laya.Event.CLOSE, this, this.closeHandler); this.socket.on(Laya.Event.ERROR, this, this.errorHandler); } private openHandler(event: any = null): void { //正确建立连接; console.log("建立"+event);//没有写出 } private receiveHandler(msg: any = null): void { ///接收到数据触发...
来源: Laya_社区 发布时间: 20180210
Error: 代码包大小为 5533 kb,上限为 4096 kb,请删除文件后重试? 我就弄了一个测试代码,压根就没有功能。 class Main { constructor() { console.log(Laya.Browser.width, Laya.Browser.height); this.current = { x: 0, y: Laya.Browser.height }; // Laya.stage.bgColor = "#3...
来源: Laya_社区 发布时间: 20180602
...录 发起人 Cross_Sky 相关问题 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 如何设置Sprite的宽高和点击区域? 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 使用...
来源: Laya_社区 发布时间: 20210107
...mplet(); templet.on(Event.COMPLETE, this, parseComplete); templet.on(Event.ERROR, this, onError); //加载动画文件 templet.loadAni("res/spine/goblins/goblins.sk"); } private function onError():void { trace("parse error"); } private function parseComplete():void { //创建第一个动画 var skel...
来源: Laya2.0_文档 发布时间: 20210715
...eloLaya{ export class Pomelo{ static DEBUG:boolean = true; static EVENT_IO_ERROR:string = "io-error"; static EVENT_CLOSE:string = "close"; static EVENT_KICK:string = "onKick"; static EVENT_HEART_BEAT_TIMEOUT:string = 'heartbeat timeout'; private JS_WS_CLIENT_TYPE:string = 'js-websocket'; private JS_...
来源: Laya_社区 发布时间: 20180119
...录 发起人 lzgyy123 相关问题 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target iphone自带浏览器页面怎么锁定 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 版本不匹配! 全局 tsc (2.2.2) != VS Code 的...
来源: Laya_社区 发布时间: 20180410
...!= null && callBack.runWith([0, { data: filesListStr }]); } catch (error) { callBack != null && callBack.runWith([1]); } } static setNativeFileDir(value) { MiniFileMgr.fileNativeDir = MiniAdpter.window.wx.env.USER_DATA_PATH + value; } static isUserPath(url){ return url.indexOf(MiniAd...
来源: Laya_社区 发布时间: 20200103
...t.on(Laya.Event.CLOSE, this, this.closeHandler); this.socket.on(Laya.Event.ERROR, this, this.errorHandler); // this.socket.send("hello world");//###################################################### } private openHandler(event: any = null): void { //正确建立连接; console.log("建立连接")...
来源: Laya_社区 发布时间: 20180211
...顿 相关问题 TS项目使用matter.js库无智能提示 Ts 编辑提示error TS5023: Unknown option 'p' 求指点3d射线碰撞和UI点击穿透的问题 点击代码编辑模器 就提示无法打开代码编辑器 请配置 这个怎么解决? 打包android版本 点击返回键会提示“...
来源: Laya_社区 发布时间: 20200801