大约有 83 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0053 秒)
...his.addChild(sp); });无法正常显示 检查发现 qg.downloadFile 报 error { "errCode": -3, "statusCode": 404, "errMsg": "com.nearme.instant.loopj.android.http.HttpResponseException" } 如何处理 附件 : --> 2025-08-18 添加评论 免费帖 --> 分享 ...
来源: Laya_社区 发布时间: 20250818
...-11 11:17:09.965 8591-8658/com.mygame.laya E/LayaBox﹕ download file error[1]:file:///data/user/0/com.mygame.laya/cache/LayaCache/localstorage/logo/logo.png 04-11 11:17:09.968 8591-8658/com.mygame.laya I/LayaBox﹕ require(/sdcard/layabox/scripts/config.js) 04-11 11:17:09.968 8591-86...
来源: Laya_社区 发布时间: 20170411
...正常Chrome F12手机模式调试播放报laya.core.js:906 Uncaught TypeError: Failed to execute 'bindTexture' on 'WebGL2RenderingContext': parameter 2 is not of type 'WebGLTexture'. 代码如下:// 创建video对象 let videoElement = new Laya.Video(); videoElement.x = 0; videoElement.y = 0; vid...
来源: Laya_社区 发布时间: 20200722
...s,Laya.Handler.create(this,this.onSuccess),Laya.Handler.create(this,this.onError)); } } private showMessage():void{ var tex:Laya.Text = new Laya.Text(); Laya.stage.addChild(tex); tex.text = "单击舞台播放和暂停"; tex.color = "#ffffff"; tex.fontSize = 100; tex.valign = "middle"; tex.align = "...
来源: Laya3.0_文档 发布时间: 20251010
...404 Not Found” 表示请求的资源不存在;“500 Internal Server Error” 表示服务器内部出现错误。 响应头部包含了关于响应的各种信息,如内容类型(Content - Type)、内容长度(Content - Length)、服务器软件(Server)等。例如,“Content - ...
来源: Laya3.0_文档 发布时间: 20251010
...Event.COMPLETE, this, this.completeHandler, [url, 1]); xhr.once(Laya.Event.ERROR, this, this.errorHandler); xhr.send(url, "", "get", "arraybuffer"); } } GameMain.prototype.completeHandler = function (URL, id, data) { // private completeHandler(data: Object, URL: string, id: number): void { //加载...
来源: Laya_社区 发布时间: 20180629
...&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i]....
来源: Laya_社区 发布时间: 20170426
... 文件:将该文件的 16065 行注释掉,注释后的代码如下: error(err, pos) { if (typeof err === 'string') err = { message: err }; if (pos) augmentCodeLocation(err, pos, curSource, id); err.id = id; err.hook = 'transform'; // return pluginContext.error(err); },该方法虽然可以解...
来源: Laya_社区 发布时间: 20201223
....getMedia(options, Handler.create(this, onSuccess), Handler.create(this, onError)); } } private function showMessage():void { var text:Text = new Text(); Laya.stage.addChild(text); text.text = "单击舞台播放和暂停"; text.color = "#FFFFFF"; text.fontSize = 100; text.valign = "middle"; text.al...
来源: Laya2.0_文档 发布时间: 20210715
求助 Uncaught SyntaxError: Unexpected identifier Uncaught SyntaxError: Unexpected identifier 这个是什么错?按照官网教程写的//初始化3d画布 Laya3D.init(0, 0, true); //设置全屏 Laya.stage.scaleMode = Stage.SCALE_FULL; //显示统计数据 Stat.show(); // 给舞台添加laya3d...
来源: Laya_社区 发布时间: 20170314