• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 165 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0061 秒)

151. 安装layaair2-cmd一直失败 [ 44%]

...cmd\node_modules\jpeg-recompress-bin > node lib/install.js   × RequestError: read ECONNRESET     at ClientRequest.<anonymous> (C:\Users\Administrator\AppData\Roaming\npm\node_modules\layaair2-c md\node_modules\bin-wrapper\node_modules\got\index.js:182:22)     at Object.onceWrapper (ev...

来源: Laya_社区 发布时间: 20200211

152. 引擎中的修改意见 [ 44%]

...的听处理函数。 * @param e 事件对象。 */ protected function _onError(e:*):void { error("Request failed Status:" + this._http.status + " text:" + this._http.statusText + e.toString()); } 4、URL中formatURL方法中使用customFormat传入参数有问题, 多了个base public static functi...

来源: Laya_社区 发布时间: 20180820

153. [LayaNative3]2d示例程序构建发布打包后,在OpenHarmony运行闪退 [ 42%]

...sionCode:1 PreInstalled:No Foreground:No Pid:19883 Uid:20010080 Reason:TypeError Error name:TypeError Error message:Cannot read property getContext of undefined Stacktrace: Cannot get SourceMap info, dump raw stack: at func_main_0 (entry|entry|1.0.0|src/main/ets/MainAbility/MainAbility.ts:9:47) hdc ...

来源: Laya_社区 发布时间: 20250106

154. 两个物体 ,如果在update里修改其中一个物体的rotationEuler,会触发另一个物体的onTriggerEnter回调 [ 40%]

...Pos; }) }, 2000); } onTriggerEnter(other: Laya.PhysicsComponent) { console.error("onTriggerEnter " + other.owner.name); } }   已上传demo和相关资源.麻烦大佬们帮忙看看,谢谢 附件 : --> Test3DBug.zip 2020-07-20 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相...

来源: Laya_社区 发布时间: 20200720

155. js环境下使用Loader加载图片在Sprite对象的.on函数无效 [ 39%]

...Loading, null, false)); // 侦听加载失败     Laya.loader.on(Event.ERROR, this, onError);     this.moveover =true;     function onAssetLoaded(texture)     {         console.log("加载结束");         pic="res/castlebeyond.jpg";         this.bgimg = new L...

来源: Laya_社区 发布时间: 20171024

156. 引擎 TiledMap 居然不支持图块翻转 [ 36%]

...          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

157. 示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function [ 35%]

示例打地鼠发布打包后提示TypeError: this.preinitialize is not a function $ adb shell am start -n "com.layabox.game/demo.MainActivity" -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -D Waiting for application to come online: com.layabox.game.test | com.layabox.game Conn...

来源: Laya_社区 发布时间: 20171218

158. dcc下载超时 [ 35%]

...enGLRenderer(7884): Failed to set EGL_SWAP_BEHAVIOR on surface 0x9bafc7a0, error=EGL_SUCCESS 07-04 20:55:27.710: D/(7884): HostConnection::get() New Host Connection established 0x9cc2aab0, tid 7900 07-04 20:55:27.713: I/0(7884): >>>>>>>>>>>>>The network has cha...

来源: Laya_社区 发布时间: 20190704

159. laya.device.media.Video [ 27%]

... : Boolean[read-only] 返回音频/视频的播放是否已结束 Video  error : Boolean[read-only] 返回表示音频/视频错误状态的 MediaError(JS)对象。 Video filters : Array滤镜集合。可以设置多个滤镜组合。Sprite globalScaleX : Number[read-only] 获得相对于sta...

来源: laya_api 发布时间: 20170929

160. 预制体模块 · LayaAir3文档 · LAYABOX [ 27%]

...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