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

大约有 36 项符合查询结果, 库内数据总量为 30,935 项。 (搜索耗时: 0.0030 秒)

1. playSound和playMusic结束时候有异常抛出 [ 100%]

...;         //设置适配模式         Laya.stage.scaleMode = "showall";         //设置剧中对齐         Laya.stage.alignH = "center";         //设置横竖屏         Laya.stage.screenMode = "vertical";         //显示FPS         Laya.Stat.show(0, 50);     ...

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

2. 针对2.0.0 beta5 setLoadingPage 做增强 [ 94%]

...his.openScene) Laya.Scene.showLoadingPage(null, 0) // 同步执行 Promise.all([this._load(url, progress), otherHandler()]).then(res => { let nextScene = res[0] if (res.length > 1) param = .concat((param || ), [res[1]]) nextScene.open(closeOther, param) if (complete) complete.runWith(nextScene...

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

3. 2.x引擎项目升级说明 · LayaAir3.3 · 引擎文档 · LAYABOX [ 93%]

...s.push(Laya.loader.load(url)); tasks.push(Laya.loader.load(url2)); Promise.all(tasks).then((res:Array<any>)=> { //用于异步加载 }); 1.4 Texture和Texture2D的问题 同一个资源地址,无论是加载Texture还是Texture2D,他们在内存中都只有一份,但可以获取不同...

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

4. XMLHttpRequest cannot load [ 91%]

...示 iOS 接入微信登录,配置了"Other Linker Flags"中加入"-Objc -all_load"后编译不通过 有人知道大天使之剑H5的选服界面和load界面的实现原理么? 我二进制资源load之后,为什么通过getRes获取不到。 Uncaught TypeError: Cannot read property 'load' of...

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

5. 资源加载 · LayaAir3.3 · 引擎文档 · LAYABOX [ 90%]

...a?: boolean, hdrEncodeFormat?: HDREncodeFormat, } Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2024-09-10 16:27:12 img{cursor:pointer}

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

6. max.js文件怎么来的 [ 84%]

...注: 2 人 qq_、风轻云淡。 • 2016-12-11 13:01 这个好像是max.all.js 文件不是max.js文件。我看了,生成的文件是不一样的。 Monica • 2016-12-11 13:09 @qq_、风轻云淡。:下边有对应的max.js文件,你看下 qq_、风轻云淡。 • 2016-12-11 13:23 @Monica:...

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

7. 关于LayaAir IDE 编辑模式下的打包功能不能合成所有图片的问题 [ 84%]

...报错: 路径不对,我能想到解决的办法就是修改layaUI.max.all.js里这个lava.png的路径,如下图: 这样可以让lava.png正常被加载显示不报错,可是这样的作法非常不方便,特别是每次重新发布,IDE都会更新layaUI.max.all.js,导致我又要...

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

8. 模型与动画的导入使用 · LayaAir3.3 · 引擎文档 · LAYABOX [ 82%]

...体,方便重用或者代码实现 (图23) Copyright ©Layabox 2025 all right reserved,powered by LayaAir Engine更新时间: 2024-09-10 16:26:59 img{cursor:pointer}

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

9. laya.resource.Prefab_API3.0 [ 81%]

...reparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/HierarchyResource" Prefab Class Prefab Hierarchy Resource Prefab PrefabImpl Index Constructors constructor Properties _id destroyed...

来源: Laya3.0_api 发布时间: 20231115

10. laya.resource.PrefabImpl_API3.0 [ 80%]

...reparing search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/PrefabImpl" PrefabImpl Class PrefabImpl 预制体导入 Hierarchy Prefab PrefabImpl Index Constructors constructor Properties _id a...

来源: Laya3.0_api 发布时间: 20231115