大约有 784 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0057 秒)
... 添加动画片段。 Animator event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher getClip(playName:String):AnimationClip 通过播放名字获取动画片段。 Animator getClipCount():int 获取动画片段个数。 Animator hasListener(type:String):Boolean 检查 Ev...
来源: laya_api 发布时间: 20170929
...ed from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,...可以使用数组结构如:[p1,p2,p3,...] ;如果需要回调...
来源: Laya3.0_api 发布时间: 20231115
...定义!这是为什么? 已上传 Demo 附件 分享:自定义事件派发与侦听(A页面派发 B页面侦听) 写了个边缘光的自定义shader,有很多问题,帮忙看一下 2.0 drawTexture color参数无效 怎样获取浏览器地址传过来的GET参数 event自定义事件...
来源: Laya_社区 发布时间: 20180625
...ed from EventDispatcher.event Defined in laya/events/EventDispatcher.ts:32 派发事件。 Parameters type: string 事件类型。 Optional data: any (可选)回调数据。注意:如果是需要传递多个参数 p1,p2,p3,...可以使用数组结构如:[p1,p2,p3,...] ;如果需要回调...
来源: Laya3.0_api 发布时间: 20231115
... index:int):void 增加一个标签到index帧上,播放到此index后会派发label事件 MovieClip clearTimer(caller:*, method:Function):void 清理定时器。功能同Laya.timer.clearTimer()。 Node contains(node:Node):Boolean 当前容器是否包含指定的 Node 节点对象 。 Node cus...
来源: laya_api 发布时间: 20170929
...rator(singleton:int)Accelerator event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher getTransformedAcceleration(acceleration:AccelerationInfo):AccelerationInfo[static] 把加速度值转换为视觉上正确的加速度值。依赖于Browser.window.orientation,可能在部...
来源: laya_api 发布时间: 20170929
...rator(singleton:int)Accelerator event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher getTransformedAcceleration(acceleration:AccelerationInfo):AccelerationInfo[static] 把加速度值转换为视觉上正确的加速度值。依赖于Browser.window.orientation,可能在部...
来源: Laya2.0_api 发布时间: 20190513
...ublic Methods MethodDefined By event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher hasListener(type:String):Boolean 检查 EventDispatcher 对象是否为特定事件类型注册了任何侦听器。 EventDispatcher isMouseEvent(type:String):Boolean 检测指定事件类型...
来源: Laya2.0_api 发布时间: 20190513
... index:int):void 增加一个标签到index帧上,播放到此index后会派发label事件 MovieClip callLater(method:Function, args:Array = null):void 延迟运行指定的函数。 在控件被显示在屏幕之前调用,一般用于延迟计算数据。 Node clearTimer(caller:*, method:Func...
来源: Laya2.0_api 发布时间: 20190513
...定义!这是为什么? 已上传 Demo 附件 分享:自定义事件派发与侦听(A页面派发 B页面侦听) Laya中的宏编译要怎么用啊 编译调试启动chrome出现错误: Error processing launch: Error Could not attach to main target 微信小程序—未找到入口 app.jso...
来源: Laya_社区 发布时间: 20170322