大约有 260 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0049 秒)
...EN_VERTICAL Laya.stage.bgColor = "#0e277a"; Laya.stage.frameRate = "fast"; Config.atlasEnable = true; Text.CharacterCache = false; Text.setTextRightToLeft(); //设置文字排版模式为右到左。 Styles.labelColor = "#FFFFFF"; Font.defaultColor = "#FFFFFF"; Font.defaultSize = 36; Font.default...
来源: Laya_社区 发布时间: 20180705
... : int 动画播放的帧间隔时间(单位:毫秒)。默认值依赖于Config.animationInterval=50,通过Config.animationInterval可以修改默认帧间隔时间。 要想为某动画设置独立的帧间隔时间,可以使用set interval,注意:如果动画正在播放,设置后会...
来源: Laya2.0_api 发布时间: 20190513
...确。 2018-07-24 0 0 分享 微博 QZONE 微信 ZX 赞同来自: import ConfigInfo from "../data/ConfigInfo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super()...
来源: Laya_社区 发布时间: 20180724
...选静态合批场景的drawCall都没有降低。查源码laya.d3.js 的Config3D.enableStaticBatch 无论true与false 走的都代码流程都一样。 总之都是elements.add(element); 2 我使用staticBatchVolume 勾选Enable Static Instance Batch Render 就会报错! 3 性能问题 2.x性能...
来源: Laya_社区 发布时间: 20231214
...Demo) Laya2.8.0 File has no manifest.json LayaAir3D Warning : MyWater must config in CustomShaderConfig File. 请教专家:curl_easy_perform failed和JCFileRes::onDownloadError file error fatal error: 'string' file not found Unity3d导出模型时 报错:LayaAir3D UnityPlugin prefab can't export...
来源: Laya_社区 发布时间: 20180715
...pe":1,"proType":1,"layaProType":1,"version":"2.0.0"} ``` #### `语言版本config.json` 图9中的`tsconfig.json`存放着IDE的编译配置信息,勿删。 ### 3.7 发布目录 发布目录默认是不存在的,需要点击发布按钮,发布项目后才会生成对应的版本目录,如图...
来源: Laya2.0_文档 发布时间: 20210715
...方法 2018-08-14 0 0 分享 微博 QZONE 微信 ZX 赞同来自: import ConfigInfo from "../data/ConfigInfo"; import { ui } from "../ui/layaMaxUI"; export default class RuleDialog extends ui.scene.RuleDialogUI { private m_index: number = -1; private m_downValue: number = -1; constructor() { super()...
来源: Laya_社区 发布时间: 20170215
...好,最好能放到统一的目录下,便于初始包的剥离。 fileconfig.json: 文件中包含了一些项目的配置信息。 game.js: 支付宝小游戏的入口文件,游戏项目入口JS文件与适配库JS等都是在这里进行引入。IDE创建项目的时候已生成好,一...
来源: Laya3.0_文档 发布时间: 20251010
...8:21:18.988010+0800 layabox[3608:626785] require(/sdcard/layabox/scripts/config.js) 2020-04-22 18:21:19.035583+0800 layabox[3608:626785] found the file in the package:scripts/config.js 2020-04-22 18:21:19.039389+0800 layabox[3608:626785] JSBridge bgColor: ["#000000"] 2020-04-22 18:21:19.04165...
来源: Laya_社区 发布时间: 20200422
...code的是vscode.rar 关键的几个文件都是相同的。index.html、tsconfig.json、以及两个类。为了测试方便,把Laya.init这句注释掉。 (另外我把laya的项目文件夹用vscode打开来编译运行,也可以正常,LayaAir IDE却不行。其差别最主要应该是在...
来源: Laya_社区 发布时间: 20171116