大约有 528 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0037 秒)
...位置。 DrawRectCmdPublic Methods MethodDefined By recover():void 回收到对象池 DrawRectCmdPublic Constants ConstantDefined By ID : String = DrawRect[static] DrawRectCmdProperty DetailfillColorpropertypublic var fillColor:* 填充颜色,或者填充绘图的渐变对象。 heightpr...
来源: Laya2.0_api 发布时间: 20190513
...量。 FillTextureCmdPublic Methods MethodDefined By recover():void 回收到对象池 FillTextureCmdPublic Constants ConstantDefined By ID : String = FillTexture[static] FillTextureCmdProperty Detailheightpropertypublic var height:Number (可选)高度。 offsetproperty public var off...
来源: Laya2.0_api 发布时间: 20190513
...示是否只执行一次。如果为true,回调后执行recover()进行回收,回收后会被再利用,默认为false 处理器的方法包括: 1,create() 从对象池内创建一个Handler Laya.Handler 事件处理器,推荐使用Laya.Handler.create()方法从对象池创建,以减少...
来源: Laya3.0_文档 发布时间: 20251010
...默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用。如果没有重置,则不进行回收复用 onAwake 组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onEnable 组件被启用后...
来源: Laya3.0_文档 发布时间: 20251010
...相关的链接 提交 1 个回复 Laya_XS 赞同来自: js的代码内存回收这个没办法控制,只能在你不用的时候进行一个=null的操作,然后就是等待js的gc自己回收了! 2017-11-29 0 1 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问...
来源: Laya_社区 发布时间: 20171129
...overBefore 是否覆盖之前的缓动。 * @param autoRecover 是否自动回收,默认为true,缓动结束之后自动回收到对象池。 * @return 返回Tween对象。 */ public static function to(target:*, props:Object, duration:int, ease:Function = null, complete:Handler = null, delay:int...
来源: Laya_社区 发布时间: 20180109
...的地方代码问题导致sprite增加,而且destroy是等js自动垃圾回收机制回收 2018-07-04 0 0 分享 微博 QZONE 微信 渔歌 赞同来自: 精灵的销毁是有延迟的,建议先移除,从父节点移除,之后再销毁 2020-05-27 0 0 分享 微博 QZONE 微信 为什么被折叠?...
来源: Laya_社区 发布时间: 20180704
...量。 DrawTextureCmdPublic Methods MethodDefined By recover():void 回收到对象池 DrawTextureCmdPublic Constants ConstantDefined By ID : String = DrawTexture[static] DrawTextureCmdProperty Detailalphapropertypublic var alpha:Number (可选)透明度。 blendModeproperty public var...
来源: Laya2.0_api 发布时间: 20190513
...n.from(hint, { scaleX: 0.5, scaleY: 0.5 }, 2000); tw.repeat = 0;//有bug,回收对象池不会重置此值 //tween被对象池回收并不会重置repeat导致后面这个tween对象重用时动画重复播放 2019-09-23 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关...
来源: Laya_社区 发布时间: 20190923
...布)。 StrokeTextCmdPublic Methods MethodDefined By recover():void 回收到对象池 StrokeTextCmdPublic Constants ConstantDefined By ID : String = StrokeText[static] StrokeTextCmdProperty Detailcolorpropertypublic var color:String 定义文本颜色,比如"#ff0000"。 fontproperty p...
来源: Laya2.0_api 发布时间: 20190513