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

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

131. 【LIST无法拖动】参照官方实例做的 [ 40%]

..., Laya.stage.width, Laya.stage.height, "#000000");         Laya.SoundManager.playSound("sound/hitbutton.wav");         this.list.removeSelf();         this.list.destroy();      }        } import Box = Laya.Box; import Image = Laya.Image; import Text = La...

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

132. 组件脚本的内置方法 · LayaAir3.3 · 引擎文档 · LAYABOX [ 39%]

..."); owner.getComponent(Laya.RigidBody).setVelocity({ x: 0, y: -10 }); Laya.SoundManager.playSound("resources/sound/hit.wav"); } else { if (owner.parent) { let effect: Laya.Sprite = Laya.Pool.getItemByCreateFun("effect", this.createEffect, this); owner.parent.addChild(effect);//将爆炸动画添加...

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

133. Laya.URL.basePath加载不到网络资源 [ 32%]

...mres/sound/BGM.mp3 console.warn @ VM1768:1 Loader.cacheRes @ code.js:12995 SoundManager.playSound @ code.js:4963 SoundManager.playMusic @ code.js:4988 GameEx.onLoaded @ code.js:57359 GameEx.onLoaded2 @ code.js:57325 __proto.runWith @ code.js:720 loadComplete @ code.js:13456 __proto.run @ code.js:706...

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