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

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

141. 插件开发说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 39%]

....createSettings("MyTestSettings", { location: "project", contributeToPlayerConfig: true}); 运行时可以这样访问: console.log(Laya.PlayerConfig["MyTestSettings"]); 十二、扩展编辑器配置界面 如果我们通过上一节创建了一些自定义的配置数据,可以将它展现在...

来源: Laya3.0_文档 发布时间: 20251010

142. 深入理解LayaAir引擎架构和实现原理(二)项目调试原理及完美开发调试方案 [ 38%]

...加prevTasks let prevTasks = ""; if (global.publish) { prevTasks = ["loadConfig"]; } gulp.task("compile", prevTasks, function () { // 发布时调用编译功能,判断是否点击了编译选项 if (global.publish) { workSpaceDir = global.workSpaceDir; // 发布时调用编译,workSpaceDir使...

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

143. dcc更新失效, 有代码, 100%复现, 三楼附临时解决办法 [ 36%]

...13 7562-7605/com.dihong.testdcc I/LayaBox: require(/sdcard/layabox/scripts/config.js) 05-16 15:59:50.214 7562-7605/com.dihong.testdcc I/LayaBox: found the file in the package:scripts/config.js 05-16 15:59:50.215 7562-7605/com.dihong.testdcc I/LayaBox: JSRuntime::callMethod {} demo.JSBridge bgColor 0...

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

144. VSCode高效开发工作流配置指南(TypeScript-IDE篇(TS)-代码模式基础) [ 33%]

...替换即可。 launch.json 内容如下: ```json { "version": "0.2.0", "configurations": [ { "name": "chrome调试", "type": "chrome", "request": "launch", "file": "${workspaceRoot}/bin/index.html", "runtimeArgs": [ "--allow-file-access-from-files", "--disable-web-security" ], "sourceMaps": true,...

来源: Laya2.0_文档 发布时间: 20210715

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

...he/localstorage/logo/logo.png I/LayaBox:  require(/sdcard/layabox/scripts/config.js) I/LayaBox: found the file in the package:scripts/config.js I/LayaBox:  xhr.GET url=http://stand.alone.version/index.html I/LayaBox: found the file in the package:cache/stand.alone.version/ea224b42 I/LayaBox:  &gt...

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

146. 项目发布详解(含命令行发布)(TypeScript-IDE篇(TS)-代码模式基础) [ 30%]

...d publish [options] Options: -v, --version output the version number -c, --config Set the publishing platform name[web|wxgame|qqw anyiwan|bdgame] -h, --help output usage information ``` 我们通过帮助可以看到,最关键的参数是 `-c` ,目前支持的参数有: `web`是发布HTML5的w...

来源: Laya2.0_文档 发布时间: 20210715

147. dcc下载超时 [ 29%]

...txt 07-04 20:55:28.249: I/LayaBox(7884):  require(/sdcard/layabox/scripts/config.js) 07-04 20:55:28.249: I/LayaBox(7884): found the file in the package:scripts/config.js 07-04 20:55:28.250: I/LayaBox(7884): JSRuntime::callMethod {} 07-04 20:55:28.251: I/LayaBox(7884): JSRuntime::callMethod {} 07-04...

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

148. laya.display.Animation_API3.0 [ 27%]

....ts:84 动画播放的帧间隔时间(单位:毫秒)。默认值依赖于Config.animationInterval=50,通过Config.animationInterval可以修改默认帧间隔时间。 要想为某动画设置独立的帧间隔时间,可以使用set interval,注意:如果动画正在播放,设置后会...

来源: Laya3.0_api 发布时间: 20231115

149. LayaAirNative初始化的4个问题 [ 25%]

...很大概率访问不到allfile.txt,从而弹出原生提示(就是在config.js中配置的,在=12ptwindow.onLayaInitError事件触发的时候显示的那句话 ),导致后续无法进行,请问有没有办法避免这种情况的出现(比如多重试几次,或者就以本地的all...

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

150. 打包成APK运行一半崩溃 [ 17%]

...  8591-8658/com.mygame.laya I/LayaBox﹕ require(/sdcard/layabox/scripts/config.js) 04-11 11:17:09.968    8591-8658/com.mygame.laya I/LayaBox﹕ found the file in the package:scripts/config.js 04-11 11:17:09.976    8591-8645/com.mygame.laya I/LayaBox﹕ Download [  ]:http://192.168.167.103:890...

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