大约有 127 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0061 秒)
...点击后退键退出游戏”,如果去掉这个提示 Failed to load resource: net::ERR_FILE_NOT_FOUND RayCastAll射线检测同一MeshColliderShape返回两个结果 [闪退!!!][崩溃!!Crash]LayaNative 2.8.0 js 调用 oc 同步方法,有返回值的时候崩溃 初次加载场景正确,返...
来源: Laya_社区 发布时间: 20180629
...ightBg = new laya.display.Sprite(); this.rightBg.graphics.drawTexture(laya.resource.Texture.createFromTexture(this.bgTexture,32*29,0,32,96), 0, 0, 32, 96); this.rightBg.width = 32; this.addChild(this.rightBg); } switch(type){ case 1: this.rightBg.visible = false; this.bg.graphics.drawTexture(this.bg...
来源: Laya_社区 发布时间: 20160803
...e.on(Laya.Event.MOUSE_DOWN, () => { Laya.loader.load("resources/916.mp4").then(() => { this.play(); }); }) }同时建议您将“项目设置->缩放模式”更改为fixedwidth,便于手机调试。完整的dem...
来源: Laya_社区 发布时间: 20231007
...es\slice_7.apk F:\GWCT\Android\test\android_studio\app\build\intermediates\resources\instant-run\debug\resources-debug.apk F:\GWCT\Android\test\android_studio\app\build\intermediates\split-apk\debug\slices\slice_4.apk F:\GWCT\Android\test\android_studio\app\build\intermediates\split-apk\debug\slices...
来源: Laya_社区 发布时间: 20190723
...法: 右键 LayaAirIDE.app->显示包内容,定位到 Contents->Resources->app->node_modules->rollup->dist->rollup.js 修改 rollup.js 文件:将该文件的 16065 行注释掉,注释后的代码如下: error(err, pos) { if (typeof err === 'string') err = { message: e...
来源: Laya_社区 发布时间: 20201223
...目录修改 set IDE_DIR=%~dp0..\..\LayaAirIDE\ set IDE_APP_DIR=%IDE_DIR%resources\app\ set gulpjs=%IDE_APP_DIR%node_modules\gulp\bin\gulp.js set compilejs=%~dp0.laya\compile.js ::创建一个js文件 echo let app = require("electron").app>compile_temp.js echo let gulp = require('gulp')>>co...
来源: Laya_社区 发布时间: 20200325
...l": ".", "paths": { "tslib": [ "/Applications/LayaAirIDE_beta.app/Contents/Resources/app/node_modules/tslib/tslib.d.ts", "tslib/tslib.d.ts" ] }, "lib": [ "esnext", "dom", "es2015.promise" ] } } 此时就要考虑转es5了,拿微信小游戏来说,wxgame.json配置里面打开es6toes5"useMinJsLib...
来源: Laya_社区 发布时间: 20200705
...锁定, 无法添加新回复 发起人 海货 相关问题 Failed to load resource: net::ERR_FILE_NOT_FOUND 用 texturepacker .json+.png File file上传图片 获得的base64 怎么 显示在laya舞台上啊 发布OPPO快游戏生成rpk错误(附Demo) Laya2.8.0 File has no manifest.json LayaAir3D W...
来源: Laya_社区 发布时间: 20180715
...间 http.http.timeout = 10000; //发送了一个简单的请求 http.send("resources/data.txt", "", "get", "text");//需要在resources文件夹下新建一个data.txt文件 //设置完成事件,添加回调方法 http.once(Laya.Event.COMPLETE, this, this.completeHandler); //设置错误事件,...
来源: Laya3.0_文档 发布时间: 20250104
...ldNativeWithCmake... after 7 ms > hvigor Finished :entry:default@ProcessResource... after 3 ms > hvigor Finished :libSysCapabilities:default@ProcessLibs... after 10 ms > hvigor Finished :libSysCapabilities:default@DoNativeStrip... after 14 ms > hvigor Finished :entry:default@BuildNativeW...
来源: Laya_社区 发布时间: 20250106