大约有 272 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0056 秒)
Laya_社区(222) Laya3.0_文档(17) laya_api(7) Laya3.0_api(7) Laya2.0_文档(7) Laya2.0_api(6) Laya_示例(3) Laya2.0_示例(3)
...组件的3D对象实例化完成后,第一次更新时执行*/ public _start(state:Laya.RenderState):void{ //获取被绑定脚本的模型,需等待角色实例化完成 //获取有动画组件的内层模型(.lh资源导出时会在角色外包裹一层sprite3D) this.roleModel = this.owner...
来源: Laya_社区 发布时间: 20171113
...teCallback?: () => void, loop: boolean = false, startTime: number = 0 ): Laya.SoundChannel | null { if (!url) { console.warn("SoundManager: 音效URL不能为空"); return null; } if (Laya.Soun...
来源: Laya_社区 发布时间: 20250930
...OpenALSource current num=10 2018-01-09 20:50:15.301 ZhuaWawa[2531:1863752] Start js scripts/apploader.js 2018-01-09 20:50:15.301 ZhuaWawa[2531:1863752] INFO:gles 支持的最大顶点属性个数=16 2018-01-09 20:50:15.484 ZhuaWawa[2531:1863829] js thread started. 2018-01-09 20:50:15.487 ZhuaWawa[25...
来源: Laya_社区 发布时间: 20180109
...rt class ProtobufDemo extends Laya.Script { onEnable() { console.log("Game start"); } } 2.2 Protobuf示例脚本 引入了protobuf模块就可以直接在项目中使用了,这里我们写了一个简单的示例DEMO,完整代码如下: // src/ProtobufDemo.ts // 引入生成的 protobuf 模块...
来源: Laya3.0_文档 发布时间: 20251010
...as() 07-22 15:28:49.275: E/LayaConch5(13400): plugin-----------------EngineStart() = /data/user/0/com.layabox.conch5//LayaCache/localstorage 07-22 15:28:49.327: E/dboxed_process(13427): Not starting debugger since process cannot load the jdwp agent. 07-22 15:28:49.345: E/NightModeController(13427): ...
来源: Laya_社区 发布时间: 20190722
...declaration], indices, Laya.IndexFormat.UInt16, [{ length: indices.length, start: 0 }]); return mesh2D; } } 最终的效果如图3-1所示, (图3-1) Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2025-10-10 16:27:56 img{cursor:pointer}
来源: Laya3.0_文档 发布时间: 20251010
...时间 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 Texture图片能否进行翻转? laya3D动画无法播放 [Laya2.0 3D] 2.0正式版上存在某些骨骼动...
来源: Laya_社区 发布时间: 20181120
...11:17:08.951 8591-8591/? E/LayaConch5﹕ plugin-----------------EngineStart() = /data/user/0/com.mygame.laya/cache//LayaCache/localstorage 04-11 11:17:08.951 8591-8591/? I/LayaBox﹕ localStoragePath=/data/user/0/com.mygame.laya/cache//LayaCache/localstorage 04-11 11:17:09.000 8591-85...
来源: Laya_社区 发布时间: 20170411
...D场景默认的组件,如图5-1所示 (图5-1) 5.1 组件属性 Fog Start:雾化的起始位置 Fog Range:雾化最浓处的距离 Fog Color:雾化的颜色 首先勾选雾化属性,然后调整雾化的范围,雾化的颜色 5.2 代码使用 //雾化代码 this.scene.enableFog = tr...
来源: Laya3.0_文档 发布时间: 20251010
...ndefined 谷歌浏览器播放mp3出现The AudioContext was not allowed to start. ide 2.4 layaair2-cmd 编译报错 版本不匹配! 全局 tsc (2.2.2) != VS Code 的语言服务(2.1.5)。可能出现不一致的编译错误 我这样载入场景问题出现在哪呢?? 发布H5后通过网页打...
来源: Laya_社区 发布时间: 20170525