大约有 289 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0055 秒)
Laya_社区(177) Laya3.0_api(81) Laya2.0_文档(12) Laya3.0_文档(10) Laya2.0_示例(4) Laya2.0_api(2) laya_api(2) Laya_示例(1)
...#### *version :2.0.2beta Update:2019-5-8* Scene3D、Sprite3D在调用 `destroy()` 之后,精灵所引用的材质,纹理,网格并不会跟随精灵的销毁而一起销毁。这些残留下的资源需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象...
来源: Laya2.0_文档 发布时间: 20210715
...很小几率的bug,,报错如下: style为null说明该对象已经destroy了,,但是报错说明仍然在执行改变alpha的缓动,这个缓动没有停止。 游戏代码是已上线的游戏,别的引擎做的,,现在改为layabox,,逻辑上没有变化,, 而且报错...
来源: Laya_社区 发布时间: 20170217
...rce.x=source.offestX+position.x; source.y=source.offestX+position.y; } } destroy(destroyChild?:boolean):void{ this.timer.clear(this,this.__updateBinds); this.__bindList.length=0; this.__bindList=null; super.destroy(destroyChild); } } 2. 可绑定到骨骼的内容 /** * 可绑定到骨骼的...
来源: Laya_社区 发布时间: 20190805
...#### *version :2.0.2beta Update:2019-5-8* Scene3D、Sprite3D在调用 `destroy()` 之后,精灵所引用的材质,纹理,网格并不会跟随精灵的销毁而一起销毁。这些残留下的资源需要分别使用`Laya.loader.getRes(url:String)`接口获取到资源(Resource)对象...
来源: Laya2.0_文档 发布时间: 20210715
...ZONE 微信 Laya_Aaron 赞同来自: 销毁未使用资源 Laya.Resource.destroyUnusedResources(); 2019-03-08 0 1 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: 用destroy(), clearres 不是清理资源 2019-03-08 0 2 分享 微博 QZONE 微信 Laya_Aaron 赞同来自: (Laya.Loader.getRes(t...
来源: Laya_社区 发布时间: 20190307
...ren();//从显示列表移除龙骨动画子对象 this.mArmatureUnUsed[i].destroy(true);//从显存销毁龙骨动画及其子对象 } } console.warn(this.mArmatureUsed.length); for(let i=0;i < this.mArmatureUsed.length; i++){ if(this.mArmatureUsed[i] != null){ this.mArmatureUsed[i].stop();//停...
来源: Laya_社区 发布时间: 20190821
...ckname_; this.list.removeSelf(); this.list.destroy(); this.removeSelf(); this.destroy(); Laya.stage.addChild(ui); } jumpScene() { let ge = new GameIEntity(); ...
来源: Laya_社区 发布时间: 20210122
...l, ()=>{ if (this.loginDig) { this.loginDig.removeSelf(); this.loginDig.destroy(); } 2.this.btn_ok.on(Laya.Event.RIGHT_CLICK, this, this.OnBut_Open); OnBut_Open() : void { this.removeSelf(); this.destroy(); } 就是这两个函数,是不是就是使用lamb表达式就要使用null,不是匿...
来源: Laya_社区 发布时间: 20161202
... _map.createMap("res/race.json",viewRect);我的游戏销毁的代码 _map.destroy(); _map = null; Laya.stage.addChild(new Plazz());//ui 经过排查后发现问题出现在TiledMap相关的代码里面 在TiledMap的destroy方法内 /** * 销毁地图 */ public function destroy():void { ....... //...
来源: Laya_社区 发布时间: 20180503
...: Cannot read property 'off' of null at SkinnedMeshRenderer.__proto._destroy (laya.d3.js:41972) at SkinnedMeshSprite3D.__proto.destroy (laya.d3.js:34884) at SkinnedMeshSprite3D.__proto.destroy (laya.d3.js:43737) 发现 if (this._cacheRootBone){ ...
来源: Laya_社区 发布时间: 20191015