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

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

251. laya.ani.bone.Skeleton [ 47%]

...0, 100); Sprite  play(nameOrIndex:*, loop:Boolean, force:Boolean = true, start:int = 0, end:int = 0, freshSkin:Boolean = true):void 播放动画 Skeleton  playbackRate(value:Number):void 设置动画播放速率 Skeleton pos(x:Number, y:Number, speedMode:Boolean = false):Sprite 设置坐标位...

来源: Laya2.0_api 发布时间: 20190513

252. 打包native报错 [ 46%]

...nALSource current num=10 2019-06-18 13:34:09.231349+0800 test1[6479:65523] Start js scripts/apploader.js 2019-06-18 13:34:09.237285+0800 test1[6479:65523] js thread started. 2019-06-18 13:34:09.244289+0800 test1[6479:65523] found the file in the package:scripts/runtimeInit.js   2019-06-18 13:34:09....

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

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

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

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

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

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

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

257. 运行器在手机上一打开就崩溃 [ 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

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

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

260. 打包成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