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

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

791. 预制体模块 · LayaAir3文档 · LAYABOX [ 26%]

...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

792. 预制体 · LayaAir3.4 · 引擎文档 · LAYABOX [ 26%]

...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

793. 3D中摄像机绕物体旋转该如何实现? [ 26%]

...(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

794. 打CPK包在手机上运行会白屏,手机测试型号VIVO1419L。 [ 26%]

...: [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

795. 官方案例里摄像机绕物体旋转脚本的问题 [ 25%]

...(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

796. socket大型项目回调 [ 25%]

...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

797. laya.d3.core.material.Material_API3.0 [ 25%]

...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

798. 使用3D精灵 · LayaAir3.4 · 引擎文档 · LAYABOX [ 25%]

...2-8所示,通过点击Layer,可以选择编辑器已经自定义好的Default,Layer1等等,也可以再次编辑Layer层 (图2-8) 也可以通过代码来设置 /** * 蒙版层。 */ get layer(): number set layer(value: number) //添加显示图层(为相机添加一个蒙版) this.camer...

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

799. 【经验分享】如何让ts项目支持装饰器语法,以及自动化发布相关的一些东西 [ 24%]

...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

800. 微信小游戏提审后,提示说代码侵权 [ 24%]

...件名都改一下。 7、如果是 Laya 2.0项目,class 前面 不要用default 定义。 按照以上思路,修改到位,经过作者30+款产品上线的经验,通过率99.99%。 以上修改思路是有一定工作量的,而且是枯燥的,所以最好写代码脚本去处理,作...

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