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

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

2151. 小游戏环境下 声音的缓存机制导致更换声音文件失败 [ 47%]

...版本修复: /** * @private * 加载声音。 * @param url 地址。 */ public function load(url:String):void { if (!MiniFileMgr.isLocalNativeFile(url)) { url = URL.formatURL(url); }else { if (url.indexOf("http://") != -1 || url.indexOf("https://") != -1) { if(MiniFileMgr.loadPa...

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

2152. 资源加载(JavaScript-3D基础(JS)-LayaAir3D之资源加载) [ 47%]

...s=laya.net.LoaderManager) 。 ```typescript ...... //批量预加载方式 public function PreloadingRes() { //预加载所有资源 var resource:Array = ["res/threeDimen/scene/TerrainScene/XunLongShi.ls", "res/threeDimen/skyBox/skyBox2/skyBox2.lmat", "res/threeDimen/texture/earth.png", "res/threeDi...

来源: Laya2.0_文档 发布时间: 20210715

2153. Laya.Tween.to 有没有监听值的变化的方法? [ 47%]

...   * @return  返回Tween对象。          */         public function to(target:*, props:Object, duration:int, ease:Function = null, complete:Handler = null, delay:int = 0, coverBefore:Boolean = false):Tween {             return _create(target, props, duration, ease,...

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

2154. googleplay资源zip包,入口页无法获取 [ 47%]

...RuntimeProxy.java中的getExpansionMainPath这个方法,改成如下: public String getExpansionMainPath() { return "/storage/emulated/0/com.layabox.conch5/resource.zip"; } 这样应该是能够对应上的,因为我看读取logo.png的时候已经到这个zip文件中查找了,但...

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

2155. Laya3d加载Arena/Arena.ls报错 [ 47%]

...d3.js         /**          * 初始化         */         public Setup():void         {             UIID.DEFAULT_WIDTH = 960;             UIID.DEFAULT_HEIGHT = 640;             //Laya.init(UIID.DEFAULT_WIDTH,UIID.DEFAULT_HEIGHT, Laya.WebGL);             L...

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

2156. 背景音乐播放内存问题 [ 47%]

...擎类中的WebAudioSound类的dispose方法改了,改成了这样:   public function dispose():void { delete _dataCache[url]; delete __loadingSound[url]; this.audioBuffer = null; this.data = null; this.__toPlays = []; super.dispose(); }   如果不添加最后4行代码的话,每次切换...

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

2157. laya.resource.AtlasResource_API3.0 [ 47%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/resource/AtlasResource" AtlasResource Class AtlasResource 大图合集资源 Hierarchy Resource AtlasResource Index Constructors constructor Pro...

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

2158. laya.d3.physics.PhysicsComponent_API3.0 [ 47%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/physics/PhysicsComponent" PhysicsComponent Class PhysicsComponent PhysicsComponent 类用于创建物理组件的父类。 Hierarchy Componen...

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

2159. 精灵 · LayaAir3.3 · 引擎文档 · LAYABOX [ 47%]

...Script { //declare owner : Laya.Sprite3D; @property({ type: Laya.Sprite }) public sprite1: Laya.Sprite; @property({ type: Laya.Sprite }) public sprite2: Laya.Sprite; constructor() { super(); } /** * 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 *...

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

2160. laya.d3.component.animator.AnimatorController_API3.0 [ 47%]

...ring search index... The search index is not available layaair Options All Public Public/Protected All Inherited Externals Only exported Menu Globals "laya/d3/component/Animator/AnimatorController" AnimatorController Class AnimatorController Hierarchy Resource AnimatorController Index Constructors c...

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