大约有 150 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0071 秒)
....createSettings("MyTestSettings", { location: "project", contributeToPlayerConfig: true}); 运行时可以这样访问: console.log(Laya.PlayerConfig["MyTestSettings"]); 十二、扩展编辑器配置界面 如果我们通过上一节创建了一些自定义的配置数据,可以将它展现在...
来源: Laya3.0_文档 发布时间: 20251010
...加prevTasks let prevTasks = ""; if (global.publish) { prevTasks = ["loadConfig"]; } gulp.task("compile", prevTasks, function () { // 发布时调用编译功能,判断是否点击了编译选项 if (global.publish) { workSpaceDir = global.workSpaceDir; // 发布时调用编译,workSpaceDir使...
来源: Laya_社区 发布时间: 20200918
...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
...替换即可。 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
...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: >...
来源: Laya_社区 发布时间: 20171218
...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
...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
....ts:84 动画播放的帧间隔时间(单位:毫秒)。默认值依赖于Config.animationInterval=50,通过Config.animationInterval可以修改默认帧间隔时间。 要想为某动画设置独立的帧间隔时间,可以使用set interval,注意:如果动画正在播放,设置后会...
来源: Laya3.0_api 发布时间: 20231115
...很大概率访问不到allfile.txt,从而弹出原生提示(就是在config.js中配置的,在=12ptwindow.onLayaInitError事件触发的时候显示的那句话 ),导致后续无法进行,请问有没有办法避免这种情况的出现(比如多重试几次,或者就以本地的all...
来源: Laya_社区 发布时间: 20180627
... 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