大约有 180 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0076 秒)
...der = ball.addComponent(Laya.PhysicsCollider) 添加碰撞以后 再销毁 destroy这个对象的时候 就出错了 Uncaught TypeError: Cannot read property '_physicsUpdateList' of null at PhysicsCollider.__proto._onDestroy (laya.d3.js:21732) at PhysicsCollider.__proto._destroy (la...
来源: Laya_社区 发布时间: 20190415
Particle2D destroy黑屏 Particle2D 粒子执行了 destroy(true) 就黑屏了 引擎laya1.7.22beta版本 弹出了很多警告 WebGL: INVALID_OPERATION: drawElements: no buffer is bound to enabled attribute __proto.renderSubmit @ laya.webgl.js:7418 __proto.submitElement @ laya.webgl.js:5943 __prot...
来源: Laya_社区 发布时间: 20181123
...资源无法释放 1. drawToCanvas在native上获取的HTMLCanvas,调用destroy,会崩溃 2. native上如果调用release并不能释放内存,会内存泄露 2018-12-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 2 ...
来源: Laya_社区 发布时间: 20181219
progressbar设置皮肤后, 马上destroy会报bug set skin(value: string) { if (this._skin != value) { this._skin = value; if (this._skin && !Loader.getRes(this._skin)) { ILaya.loader.load(this._skin, Handler.create(this, this._skinLoaded), null, Loader.IMAGE, 1); // TODO TS } else { this....
来源: Laya_社区 发布时间: 20200108
Texture引用计数不为0的时候执行销毁纹理destroy方法后再加载这个资源会导致重复加载 /** *销毁纹理。 */ __proto.destroy=function(force){ (force===void 0)&& (force=false); if (!this._destroyed){ ...
来源: Laya_社区 发布时间: 20190704
Sprite的destroy destroyChildren() { if (this._children) { for (var i = 0, n = this._children.length; i < n; i++) { this._children[0].destroy(true); } } 这几行代码来自laya.core.js的12544行开始的,for循环里的this._children[0]是不是应该是this._children[i]?还是我的使用...
来源: Laya_社区 发布时间: 20200421
TimeLine调用destroy报错&执行完成后回到起点 使用的是官方的TimeLine demo 问题1:如果在onComplete中调用destroy报错 问题2【用法问题请无视】:如果注释掉“turnUp”, 在动画执行完成后, 图片的x,y坐标变成了起始坐标 报错信...
来源: Laya_社区 发布时间: 20170327
bug:laya.Scene.destroy var list=laya.display.Scene.unDestroyedScenes; for (var i=0,n=list.length;i < n;i++){//这里缓存了长度,但是在 __proto.destroy=function(destroyChild){ (destroyChild===void 0)&& (destroyChild=true); this._idMap=null; _super.prototype.destroy.call(this,dest...
来源: Laya_社区 发布时间: 20181128
...s Laya.MeshSprite3D; this.box.addComponent(Laya.PhysicsCollider); this.box.destroy();引擎版本 LayaAirIDE2.0_beta.5 报错: Uncaught TypeError: Cannot read property 'destroy' of null at PhysicsCollider.__proto._onDestroy (laya.d3.js:17738) at PhysicsCollider.__proto._destroy (laya.c...
来源: Laya_社区 发布时间: 20190118
...rm.position = new Laya.Vector3(0, 0, 0); item.destroy(); item = null; tarItem.destroy(); tarItem = null; this.camera.removeSelf(); this.camera.dest...
来源: Laya_社区 发布时间: 20191102