大约有 50 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0068 秒)
...tring — 场景地址 complete:Handler (default = null) — 加载完成回调,返回场景实例(可选) progress:Handler (default = null) — 加载进度回调(可选) onClosed()method public function onClosed(type:String = null):void关闭完成后,调用此方法(如果有...
来源: Laya2.0_api 发布时间: 20190513
...送HTTP请求之后,我们直接通过异步事件的帧听,在事件回调方法里处理响应结果。完整的示例代码如下: import Event = Laya.Event; import HttpRequest = Laya.HttpRequest; const { regClass } = Laya; @regClass() export class Network_GET extends Laya.Script { private ...
来源: Laya3.0_文档 发布时间: 20251010
...。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Implementation of ISelect.contains Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 。 P...
来源: Laya3.0_api 发布时间: 20231115
...。 Parameters caller: any 执行域(this)。 method: Function 结束时的回调方法。 Returns void contains contains(node: Node): boolean Implementation of ISelect.contains Inherited from Node.contains Defined in laya/display/Node.ts:546 当前容器是否包含指定的 Node 节点对象 。 P...
来源: Laya3.0_api 发布时间: 20231115
...ull):void 从开始索引播放到结束索引,结束之后出发complete回调 MovieClip pos(x:Number, y:Number, speedMode:Boolean = false):Sprite 设置坐标位置。相当于分别设置x和y属性。 因为返回值为Sprite对象本身,所以可以使用如下语法:spr.pos(...).scale(....
来源: laya_api 发布时间: 20170929
...离(以像素为单位)。 View clickCallBack : Handler图标点击回调MoreGame closeCallBack : Handler关闭盒子回调MoreGame customRenderEnable : Boolean[write-only] 设置是否开启自定义渲染,只有开启自定义渲染,才能使用customRender函数渲染。 Sprite da...
来源: Laya2.0_api 发布时间: 20190513
...ull):void 从开始索引播放到结束索引,结束之后出发complete回调 MovieClip pos(x:Number, y:Number, speedMode:Boolean = false):Sprite 设置坐标位置。相当于分别设置x和y属性。 因为返回值为Sprite对象本身,所以可以使用如下语法:spr.pos(...).scale(....
来源: Laya2.0_api 发布时间: 20190513
...qg.loadSubpackage()在加载完成后,通过qg.loadSubpackage()的成功回调来通知加载完成。 同时,qg.loadSubpackage()会返回一个 LoadSubpackageTask ,可以通过 LoadSubpackageTask 获取当前下载进度。 五、常见问题 粒子渲染黑屏问题 vivo小游戏勾选使用...
来源: Laya3.0_文档 发布时间: 20251010
... ScrollBar.changeHandler Defined in laya/ui/ScrollBar.ts:46 滚动变化时回调,回传value参数。 disableDrag disableDrag: boolean = false Inherited from ScrollBar.disableDrag Defined in laya/ui/ScrollBar.ts:66 调用滚动停止接口stopMoveLimit时,是否禁止内容的拖拽 downButton ...
来源: Laya3.0_api 发布时间: 20231115
... ScrollBar.changeHandler Defined in laya/ui/ScrollBar.ts:46 滚动变化时回调,回传value参数。 disableDrag disableDrag: boolean = false Inherited from ScrollBar.disableDrag Defined in laya/ui/ScrollBar.ts:66 调用滚动停止接口stopMoveLimit时,是否禁止内容的拖拽 downButton ...
来源: Laya3.0_api 发布时间: 20231115