大约有 856 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0070 秒)
Laya_社区(264) Laya3.0_api(263) Laya2.0_api(142) laya_api(119) Laya3.0_文档(35) Laya2.0_文档(28) Laya_示例(3) Laya2.0_示例(2)
...dingRT.generated"; const { regClass, property } = Laya; @regClass() export default class LoadingRT extends LoadingRTBase { onAwake(): void { Laya.loader.load( //先加载本场景要用的 ["resources/UI/image.png", "resources/UI/progress.png", "resources/UI/progress$bar.png"] ).then(() => { let ...
来源: Laya3.0_文档 发布时间: 20241014
...dingRT.generated"; const { regClass, property } = Laya; @regClass() export default class LoadingRT extends LoadingRTBase { onAwake(): void { Laya.loader.load( //先加载本场景要用的 ["resources/UI/image.png", "resources/UI/progress.png", "resources/UI/progress$bar.png"] ).then(() => { let ...
来源: Laya3.0_文档 发布时间: 20251105
...(ModelViewer); modelViewer.AroundPos = plane.transform.position; */ export default class ModelViewer extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summary> /// Around center. /// </...
来源: Laya_社区 发布时间: 20170714
...: [INFO:library_loader_hooks.cc(106)] Chromium logging enabled: level = 0, default verbosity = 0 10-13 17:31:15.891 6514-6514/com.vivo.vs I/BrowserStartupController: Initializing chromium process, renderers=0 10-13 17:31:15.891 6514-6514/com.vivo.vs W/art: Attempt to remove local handle scope entry ...
来源: Laya_社区 发布时间: 20181013
...(ModelViewer); modelViewer.AroundPos = plane.transform.position; */ export default class ModelViewer extends Laya.Script { // Text m_debugTip; public canRotation_X: boolean = true; public canRotation_Y: boolean = true; public canScale: boolean = true; /// <summary> /// Around center. /// </...
来源: Laya_社区 发布时间: 20190224
...is.encodeUInt32(value.length),buffer); buffer.writeUTFBytes(value); break; default: var proto:any = protos.__messages[type] || this._clients["message " + type]; if (!!proto) { var buf:Laya.Byte = this.encodeProtos(proto, value); // buffer.writeArrayBuffer(this.encodeUInt32(buf.length)); Pomelo.write...
来源: Laya_社区 发布时间: 20180119
...Resource._addReference Defined in laya/resource/Resource.ts:203 Parameters Default value count: number = 1 Returns void _clearReference _clearReference(): void Inherited from Resource._clearReference Defined in laya/resource/Resource.ts:218 清除引用 Returns void _removeReference _removeReference...
来源: Laya3.0_api 发布时间: 20231115
...2-8所示,通过点击Layer,可以选择编辑器已经自定义好的Default,Layer1等等,也可以再次编辑Layer层 (图2-8) 也可以通过代码来设置 /** * 蒙版层。 */ get layer(): number set layer(value: number) //添加显示图层(为相机添加一个蒙版) this.camer...
来源: Laya3.0_文档 发布时间: 20251010
...UNDLE_END': config.cache = event.result.cache; break; case 'BUNDLE_START': default: break; } }); d)、创建并编写脚本 tools.js#!/usr/bin/env node const program = require('commander'); program .usage('[command] [args]') .command('compile', '编译项目.') .command('publish', '发布项目.'...
来源: Laya_社区 发布时间: 20201223
...件名都改一下。 7、如果是 Laya 2.0项目,class 前面 不要用default 定义。 按照以上思路,修改到位,经过作者30+款产品上线的经验,通过率99.99%。 以上修改思路是有一定工作量的,而且是枯燥的,所以最好写代码脚本去处理,作...
来源: Laya_社区 发布时间: 20190613