大约有 457 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0058 秒)
...延迟计算数据。 see #runCallLater() Parameters method: Function 要执行的函数的名称。例如,functionName。 Default value args: any[] = null 传递给 method 函数的可选参数列表。 Returns void clearTimer clearTimer(caller: any, method: Function): void Inherited from Node.cl...
来源: Laya3.0_api 发布时间: 20231115
...获取到的颜色渐变数据 private _gradient: any; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { //在节点上添加2D拖尾渲染器 this._trail2D = this.owner.addComponent(Laya.Trail2DRender); //设置淡出时间 this....
来源: Laya3.0_文档 发布时间: 20251010
...nent.onAwake Defined in laya/components/Component.ts:275 组件被激活后执行,此时所有节点和组件均已创建完毕,次方法只执行一次 Returns void onDestroy onDestroy(): void Inherited from Component.onDestroy Defined in laya/components/Component.ts:318 手动调用节点销...
来源: Laya3.0_api 发布时间: 20231115
...:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能...
来源: Laya2.0_api 发布时间: 20190513
...:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能...
来源: Laya2.0_api 发布时间: 20190513
...:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能...
来源: Laya2.0_api 发布时间: 20190513
...按轴心旋转 如何获取图片每个像素点的RGB? 编辑了图片 执行代码说加载不出来资源 这个是怎么回事? 问题状态 最新活动: 2020-07-07 14:14 浏览: 2728 关注: 3 人
来源: Laya_社区 发布时间: 20191210
...:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时执行一次某函数(基于帧率)。功能...
来源: laya_api 发布时间: 20170422
...分享:LayaAir下如何获取图集下的小图资源? 编辑了图片 执行代码说加载不出来资源 这个是怎么回事? 问题状态 最新活动: 2018-07-26 11:00 浏览: 907 关注: 2 人 188*****949 • 2018-07-26 11:18 用的Laya.loader.create(数组)的方式加载的,应该...
来源: Laya_社区 发布时间: 20180725
...@property({ type: Laya.Tree }) public tree: Laya.Tree; //组件被激活后执行,此时所有节点和组件均已创建完毕,此方法只执行一次 onAwake(): void { //初始化树状列表的数据源 let treeData: string = "<data>"; //给Tree列表赋值 treeData += "<dir label='...
来源: Laya3.0_文档 发布时间: 20251010