大约有 289 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0063 秒)
Laya_社区(177) Laya3.0_api(81) Laya2.0_文档(12) Laya3.0_文档(10) Laya2.0_示例(4) Laya2.0_api(2) laya_api(2) Laya_示例(1)
...useJoint: MouseJoint = this.curTarget.getComponent(MouseJoint); mouseJoint.destroy(); this.curTarget = null; } dispose() { Laya.stage.off(Event.MOUSE_MOVE, this, this.mouseMove); Laya.stage.off(Event.MOUSE_UP, this, this.mouseUp); Laya.stage.off(Event.MOUSE_OUT, this, this.mouseUp); Laya.stage.off(E...
来源: Laya2.0_示例 发布时间: 20261113
...nit(); Laya.stage.addChild(mblv); //销毁自身 //this.removeSelf(); this.destroy(); */ connect(); } } //忘记密码 LoginView.prototype.onLableWjmm = function () { this.dlgs = new TanChuang(); this.dlgs.init(); this.dlgs.setContext("请联系管理员找回密码!"); } return LoginView; }) (Login...
来源: Laya_社区 发布时间: 20170215
...缓动会自动停止。一般情况下,如果任务的目标对象有 destroyed 属性,则不需要设置此属性。如果任务的目标对象没有 destroyed 属性,则可以设置此属性。 * @returns 返回一个Tween对象。 */ static create(target?: any, lifecycleOwner?: { destroyed...
来源: Laya3.0_文档 发布时间: 20251010
...18815519 • 2017-10-11 20:01 tl.on(laya.events.Event.COMPLETE, this, this.destroy); 是不是这样就可以了 Monica • 2017-10-12 11:11 @Zzz18815519:是的(函数名最好不要用已有的来定义)
来源: Laya_社区 发布时间: 20171011
...laybox 赞同来自: 好吧this.close没用,我用this.removeSelf();this.destroy()之后, dialog还有层遮罩在上面,怎么去掉 test2.zip 2017-08-09 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 该问题目前已经被锁定, 无法添加新回复 发起人 gls...
来源: Laya_社区 发布时间: 20170809
...); } private body: Laya.Animation; private onBtn2Click(): void { this.body.destroyChildren(); this.body.clear(); this.body.destroy(); } 调试面板中的sprite个DrwaCall都有变化,但是CurMern么有发出变化,是否正常? 2 构造时创建 constructor() { this.aniBody...
来源: Laya_社区 发布时间: 20170615
...,我想把上一个场景所加载的模型资源释放,使用this.box.destroy(); Laya.Loader.clearRes(LoadbuildPath);无法清除显存。 2018-11-19 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron ...
来源: Laya_社区 发布时间: 20181119
...找需要操作Rigibody。解决方案: 把collider放在rigibody之前。destroyAllComponent会按顺序销毁。 2019-08-02 0 0 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 昵称syy的是猪 相关问题 版本不匹配! 全局 tsc (...
来源: Laya_社区 发布时间: 20181213
...lo.disconnect(); } /** 销毁*/ public destroy(): void { this.close(); this.pomelo = null; if(this.mDecorate)this.mDecorate.destroy(); this.mDecorate = null; } } /** socke...
来源: Laya_社区 发布时间: 20161109
...单一复用? 3d资源引用计数经常不正确,导致使用Resource.destroyUnusedResources()出错 texture的引用计数是如何计数的? Texture引用计数不为0的时候执行销毁纹理destroy方法后再加载这个资源会导致重复加载 clearRes则采用引用计数方式销...
来源: Laya_社区 发布时间: 20201103