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

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

1. laya.loaders.SerializeUtil_API3.0 [ 100%]

... Public/Protected All Inherited Externals Only exported Menu Globals "laya/loaders/SerializeUtil" SerializeUtil Class SerializeUtil Hierarchy SerializeUtil Index Properties isDeserializing Methods applyOverrideData bakeOverrideData decodeObj getLoadTypeByEngineType Properties Static isDeserializing ...

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

2. js飞机大战报错 请大神看看 [ 93%]

.../Kevin/Desktop/test/AirWar/AirWar09/bin/libs/laya.core.js:467:29)     at LoaderManager.__proto._endLoad (file:///C:/Users/Kevin/Desktop/test/AirWar/AirWar09/bin/libs/laya.core.js:12533:12)     at Loader.onLoaded (file:///C:/Users/Kevin/Desktop/test/AirWar/AirWar09/bin/libs/laya.core.js:12510:11)...

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

3. Laya_API3.0 [ 89%]

...对象,比如Laya.stage:舞台,Laya.timer:时间管理器,Laya.loader:加载管理器,使用时注意大小写。 Hierarchy Laya Index Properties isWXOpenDataContext isWXPosMsg loader stage timer Methods addWasmModule alertGlobalError createRender enableDebugPanel init Properties Stati...

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

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

playSound和playMusic结束时候有异常抛出 1. loader加载了{url:"res/music/Music_start.mp3",type:Laya.Loader.SOUND}资源 2. 加载结束后,调用Laya.SoundManager.playSound("res/music/Music_start.mp3") 3. 声音播放完成后,系统抛出异常__proto._tryClearBuffer=function(sourceN...

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

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

2.0引擎开发者使用3.0的差异汇总1、LayaAir3.0 Loader修改1.1加载一个资源1.2 加载多个资源(用数组)1.3 加载多个文件(组合)1.5 加载HTMLImage1.6 使用Options。1.7 预制体/场景的问题1.8 旧版本引擎load和create的兼容性问题1.9扩展Loader能...

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

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

...擎的核心模块,是必须要使用的功能,LayaAir引擎提供了Loader类用于加载文本、JSON、二进制、图像等资源。 下面我们在本篇文档中彻底掌握各种资源加载的使用。 一、加载单个资源 1.1 常用资源的加载方式 通常,采用Laya.loader.lo...

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

7. 通过laya设计模式制作的,要怎么给按钮绑定事件呢? [ 76%]

...olor = "#101825"; this.init() } init() { // 预加载图集 Laya.loader.load("res/atlas/comp.atlas", Laya.Handler.create(this, this.onLoaded ), null, Laya.Loader.ATLAS) } onLoaded(){ Laya.stage.addChild(new TopUI()) Laya.stage.addChild(new TabUI()) this.getGold.on(Laya.Event.MOUS...

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

8. max.js文件怎么来的 [ 75%]

... .lm , .ltc , .lh, .ani等后缀名的文件是如何制作的? 请问下loader如何强制加载一个文件,避免浏览器的缓存 问题状态 最新活动: 2016-12-11 12:35 浏览: 1461 关注: 2 人 qq_、风轻云淡。 • 2016-12-11 13:01 这个好像是max.all.js 文件不是max.js文...

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

9. 在父sprite中添加子sprite ,移动父Sprite 子sprite为什么不动? [ 69%]

...e(); // 守护神 this.angel = new Sprite(); // 加载主体的背景 Laya.loader.load("res/island.png", Handler.create(this, function() { // 图片加载 var t = Laya.loader.getRes("res/island.png"); var tBall = Texture.create(t,866,190,548,305); var tTower = Texture.create(t,data.tower[towerLel].x...

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

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

...rt"); //加载指定的模型预制体,并添加到Scene3D场景内 Laya.loader.load("girl/girl.lh").then(res => { let girl : Laya.Sprite3D = res.create(); this.scene3D.addChild(girl); //获得Animator this._animator = girl.getComponent<Laya.Animator>(Laya.Animator); }); this.on( Laya.Eve...

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