大约有 169 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0048 秒)
...面板不见了 TS项目使用matter.js库无智能提示 Ts 编辑提示error TS5023: Unknown option 'p' Laya mac版的IDE 是没测试就上线了吗? ide 2.4 layaair2-cmd 编译报错 点击代码编辑模器 就提示无法打开代码编辑器 请配置 这个怎么解决? [Laya2.0 3D] 2.0...
来源: Laya_社区 发布时间: 20180130
...,等几秒返回音乐音效全无 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 游戏运行在chrome里面 听不见声音 Texture图片能否进行翻转? 求高人分享使用protobuff框架的游戏demo(TS版本或AS版本的) 成...
来源: Laya_社区 发布时间: 20160918
...Scenes/Index.ls"); }); }); // 侦听加载失败 Laya.loader.on(Laya.Event.ERROR, this, this.onError); }); } /** * 当报错时打印错误 * @param err 报错信息 */ onError(err: string): void { console.log("加载失败: " + err); } /** * 加载时侦听 */ onLoading(progress: number): void { //...
来源: Laya3.0_文档 发布时间: 20241014
...Scenes/Index.ls"); }); }); // 侦听加载失败 Laya.loader.on(Laya.Event.ERROR, this, this.onError); }); } /** * 当报错时打印错误 * @param err 报错信息 */ onError(err: string): void { console.log("加载失败: " + err); } /** * 加载时侦听 */ onLoading(progress: number): void { //...
来源: Laya3.0_文档 发布时间: 20251105
...his class[MiniAdpter] already exist: {init: ƒ} WAGame.js:3 gameThirdScriptError Cannot read property 'USER_DATA_PATH' of undefined TypeError: Cannot read property 'USER_DATA_PATH' of undefined at Function.MiniFileMgr.setNativeFileDir (http://127.0.0.1:37684/game/code.js:21639:46) at Fun...
来源: Laya_社区 发布时间: 20180524
调用ui,new的时候出现Uncaught TypeError: Cannot read property 'call' of undefined 代码: var Test = (function(_surper){ function Test(){ Test.super(this); }; Laya.class(Test, "Test", _surper); return Test; })(ui.TestUI); 报错Uncaught Typ...
来源: Laya_社区 发布时间: 20170621
...= "onLoadedResJson"; // 资源配置文件加载出错 public static ONLOADERRORRESJSON: string = "onLoadError"; // 资源组加载完成 public static ONLOADGROUPCOMPLETE: string = "onLoadGroupConplete"; // 资源组加载出错 public static ONLOADGROUPERROR: string = "onLoadGroupError"; private s...
来源: Laya_社区 发布时间: 20161011
... if (tSrcNum < 0) { console.log("[error]path does not exist", this._pathArray, tImageArray, resPath, relativePath); } for (i = 0; i < tSrcNum; i++) { if (i == 0) { tR...
来源: Laya_社区 发布时间: 20220627
...Close); socket.on(Event.MESSAGE, this, onMessageReveived); socket.on(Event.ERROR, this, onConnectError); socket.connectByUrl(url); } public function Add(handler:IHandler):void { if(list.indexOf(handler) < 0){ list.push(handler); } } public function Remove(handler:IHandler):void { var index:int=li...
来源: Laya_社区 发布时间: 20170724
...t"; var test = {}; test.text = new laya.display.Text(); // in this line is error , so you can't defined class before "Laya.init" Laya.init(800,600); //test.text = new laya.display.Text(); // in this line is right test.text.text = "dsafdsdsada"; test.text.color = "#ff0000"; Laya.stage.addChild(test.t...
来源: Laya_社区 发布时间: 20170302