大约有 531 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0050 秒)
...,如果第二次加载同一个资源(第一次加载的资源被系统回收),获取到的资源是被销毁状态! 重现几率为必现 Laya.Sprite3D.load(name, Laya.Handler.create(this, (data:Laya.Sprite3D)=>{ if(data){ if(data.destroyed){ return; } } 2018-11-24 添加评论 免费...
来源: Laya_社区 发布时间: 20181124
...默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 Returns void Optional onStart onStart(): void Inherited from Component.onStart Defined in laya/components/Component.ts:287 第一次执行u...
来源: Laya3.0_api 发布时间: 20231115
...使已经destory,并且清空了业务层的所有引用,都无法被回收掉。
来源: Laya_社区 发布时间: 20191212
...相关节点回调。 希望在Component.protype._destroy方法中,在回收Script组件之前,增加对当前owner的监听移除,即增加this.owner.offAllCaller(this); 附件 : --> 2025-07-15 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内...
来源: Laya_社区 发布时间: 20250715
...默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 Returns void Optional onStart onStart(): void Inherited from Component.onStart Defined in laya/components/Component.ts:287 第一次执行u...
来源: Laya3.0_api 发布时间: 20231115
...对象销毁掉之后内存并不会立马降下来。需要等待js垃圾回收 2017-08-25 0 2 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 babby_bei 相关问题 Layaair IDE的帧属性面板不见了 如何设置Sprite的宽高和点击...
来源: Laya_社区 发布时间: 20170825
...lean 确定此 Rectangle 对象是否为空。 Rectangle recover():void 回收 Rectangle reset():Rectangle 重置 Rectangle setTo(x:Number, y:Number, width:Number, height:Number):Rectangle 将 Rectangle 的属性设置为指定值。 Rectangle toString():String 当前 Rectangle 对象的...
来源: Laya2.0_api 发布时间: 20190513
...默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 Returns void Optional onStart onStart(): void Inherited from Component.onStart Defined in laya/components/Component.ts:287 第一次执行u...
来源: Laya3.0_api 发布时间: 20231115
...] recover recover(): void Defined in laya/display/cmd/FillTextureCmd.ts:69 回收到对象池 Returns void Globals "laya/display/cmd/FillTextureCmd" FillTextureCmd color height offset percent texture type width x y ID getBoundPoints recover Legend Object literal Variable Function Type alias Class Cl...
来源: Laya3.0_api 发布时间: 20231115
...默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 Returns void Optional onStart onStart(): void Inherited from Component.onStart Defined in laya/components/Component.ts:287 第一次执行u...
来源: Laya3.0_api 发布时间: 20231115