大约有 528 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0067 秒)
...默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 Returns void Optional onStart onStart(): void Inherited from Component.onStart Defined in laya/components/Component.ts:287 第一次执行u...
来源: Laya3.0_api 发布时间: 20231115
...家还玩个球~~~) GameOver 游戏结束 PS:laya有自己的对象池回收方法 这里就不做扩展了 这样一看 思路是不是很清晰了? 到目前为止 我们大致知道接下来要如何开发了~ 下一节 将开始我们的简单向上跳跃游戏开发之旅~~~ (如果...
来源: Laya_社区 发布时间: 20160805
...默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 Returns void Optional onStart onStart(): void Inherited from Component.onStart Defined in laya/components/Component.ts:287 第一次执行u...
来源: Laya3.0_api 发布时间: 20231115
...从父节点移除,并且清理自身引用关系,等待js自动垃圾回收机制回收。destroy后不能再使用。 destroy时会移除自身的事情监听,自身的timer监听,移除子对象及从父节点移除自己。 ProgressBar destroyChildren():void 销毁所有子对象,不...
来源: Laya2.0_api 发布时间: 20190513
...hods recover recover(): void Defined in laya/display/cmd/FillTextCmd.ts:96 回收到对象池 Returns void Static create create(text: string | WordText | null, x: number, y: number, font: string, color: string | null, align: string, stroke: number, strokeColor: string | null): FillTextCmd Defined in...
来源: 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
...默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 Returns void Optional onStart onStart(): void Inherited from Component.onStart Defined in laya/components/Component.ts:287 第一次执行u...
来源: Laya3.0_api 发布时间: 20231115
...从父节点移除,并且清理自身引用关系,等待js自动垃圾回收机制回收。destroy后不能再使用。 destroy时会移除自身的事情监听,自身的timer监听,移除子对象及从父节点移除自己。 Sprite3D destroyChildren():void 销毁所有子对象,不销...
来源: laya_api 发布时间: 20170929
...从父节点移除,并且清理自身引用关系,等待js自动垃圾回收机制回收。destroy后不能再使用。 destroy时会移除自身的事情监听,自身的timer监听,移除子对象及从父节点移除自己。 UIComponent destroyChildren():void 销毁所有子对象,不...
来源: Laya2.0_api 发布时间: 20190513
...默认值,如果实现了这个函数,则组件会被重置并且自动回收到对象池,方便下次复用 如果没有重置,则不进行回收复用 Returns void Optional onRightMouseDown onRightMouseDown(evt: Event): void Defined in laya/components/Script.ts:103 鼠标右键或中键按...
来源: Laya3.0_api 发布时间: 20231115