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

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

251. 碰撞检测 outHitInfo.distance 一直等于 -1 ?(TS代码) [ 46%]

...组件的3D对象实例化完成后,第一次更新时执行*/ public _start(state:Laya.RenderState):void{ //获取被绑定脚本的模型,需等待角色实例化完成 //获取有动画组件的内层模型(.lh资源导出时会在角色外包裹一层sprite3D) this.roleModel = this.owner...

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

252. [LayaAirIDE3]xcode切入切出声音不播放 [ 45%]

...teCallback?: () => void,         loop: boolean = false,         startTime: number = 0     ): Laya.SoundChannel | null {         if (!url) {             console.warn("SoundManager: 音效URL不能为空");             return null;         }          if (Laya.Soun...

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

253. app构建IOS包 进入游戏提示加载游戏失败,可能由于你的网络不稳定,请退出重进 [ 44%]

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

254. ProtocolBuffer通信 · LayaAir3.3 · 引擎文档 · LAYABOX [ 44%]

...rt class ProtobufDemo extends Laya.Script { onEnable() { console.log("Game start"); } } 2.2 Protobuf示例脚本 引入了protobuf模块就可以直接在项目中使用了,这里我们写了一个简单的示例DEMO,完整代码如下: // src/ProtobufDemo.ts // 引入生成的 protobuf 模块...

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

255. 运行器在手机上一打开就崩溃 [ 44%]

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

256. 2D光遮挡器与阴影 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

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

257. IDE1.7.19.1beta打包apk后后,播放spine动画出现图片缺失 [ 43%]

...时间 谷歌浏览器播放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

258. 打包成APK运行一半崩溃 [ 43%]

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

259. 3D场景环境设置 · LayaAir3.3 · 引擎文档 · LAYABOX [ 43%]

...D场景默认的组件,如图5-1所示 (图5-1) 5.1 组件属性 Fog Start:雾化的起始位置 Fog Range:雾化最浓处的距离 Fog Color:雾化的颜色 首先勾选雾化属性,然后调整雾化的范围,雾化的颜色 5.2 代码使用 //雾化代码 this.scene.enableFog = tr...

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

260. 为什么会出现报错 ani not found:ufo1_down [ 41%]

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