大约有 273 项符合查询结果, 库内数据总量为 31,671 项。 (搜索耗时: 0.0104 秒)
...t TypeError: Cannot read property 'btCollisionObject' of undefined laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 图集打包找不到图集文件 unity中的模型导出后在laya中显示不正常 2.2.0beta4 发布微信小游戏,安卓...
来源: Laya_社区 发布时间: 20200629
为什么laya2.0加载不了.lm文件? Laya.loader.create(["LayaScene_Scene/Scene.ls","LayaScene_Scene/Assets/BakerHouse/Models/Baker_house-Baker_house.lm"],Laya.Handler.create(this, this.completeHandler)); completeHandler(): void { Laya.stage.addChild(Laya.loader.getRes("LayaScene_Scene/Scene.ls...
来源: Laya_社区 发布时间: 20181221
...y(); //预加载所有资源 var resource = [ { url: "../../res/threeDimen/scene/TerrainScene/XunLongShi.ls", clas: Laya.Scene, priority: 1 }, { url: "../../res/threeDimen/skinModel/LayaMonkey/LayaMonkey.lh", clas: Laya.Sprite3D, priority: 1 }, { url: "../../res/threeDimen/scene/TerrainScene/Assets/...
来源: Laya_示例 发布时间: 20260106
...应的加载方法。 ### 资源类型 `.ls`为场景文件,选择导出Scene类别时生成。其中包含了场景需要的各种数据、光照贴图、模型、位置等。需使用 **Scene3D** 类加载。 `.lh`为预设文件,选择导出Sprite3D类别时生成。其中缺少场景信息...
来源: Laya2.0_文档 发布时间: 20210715
...应的加载方法。 ### 资源类型 `.ls`为场景文件,选择导出Scene类别时生成。其中包含了场景需要的各种数据、光照贴图、模型、位置等。需使用 **Scene3D** 类加载。 `.lh`为预设文件,选择导出Sprite3D类别时生成。其中缺少场景信息...
来源: Laya2.0_文档 发布时间: 20210715
...I/role/atlasAni2/139x.atlas", type: Laya.Loader.ATLAS }, { url: "scenes/Index.ls", type: Laya.Loader.HIERARCHY }, { url: "scenes/DsGameMain.ls", type: Laya.Loader.HIERARCHY }, { url: "prefab/closeBtn.lh", type: Laya.Loader.HIERARCHY }, { url: "prefab/defaultBu...
来源: Laya_社区 发布时间: 20230713
...应的加载方法。 ### 资源类型 `.ls`为场景文件,选择导出Scene类别时生成。其中包含了场景需要的各种数据、光照贴图、模型、位置等。需使用 **Scene3D** 类加载。 `.lh`为预设文件,选择导出Sprite3D类别时生成。其中缺少场景信息...
来源: Laya2.0_文档 发布时间: 20210715
...t TypeError: Cannot read property 'btCollisionObject' of undefined laya2的Scene默认是文件模式,不会生成场景类了,此时该如何获得场景内的元素 关于逻辑贞更新间隔机制、时间和其他一些Timer相关的问题 编辑了图片 执行代码说加载不出来资...
来源: Laya_社区 发布时间: 20180711
..., () => { //点击后,打开UI场景示例 console.log("uiBtn"); Laya.Scene.open("scenes/UiMain.ls"); }); //侦听物理按钮点击事件 this.phyBtn.on(Laya.Event.CLICK, this, () => { //点击后,打开物理游戏示例 console.log("phyBtn"); Laya.Scene.open("scenes/PhysicsGameMain.ls")...
来源: Laya3.0_文档 发布时间: 20251010
... 2018-03-21 10:50 我的代码是这样写的: Laya.loader.create("scenes/LayaScene_yueren/yueren.ls", Laya.Handler.create(this, function () { //complete func console.log("Scene loaded"); isLoaded = true; }), Laya.Handler.create(this, function (pro) { if (debug) console.log(&qu...
来源: Laya_社区 发布时间: 20180321