大约有 416 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0038 秒)
...用Physics.update Physics event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher getBodyCount():int获得刚体总数量Physics getContactCount():int获得碰撞总数量Physics getJointCount():int获得关节总数量Physics hasListener(type:String):Boolean 检查 Even...
来源: Laya2.0_api 发布时间: 20190513
...m 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
...m 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
laya 舞台上的元素添加事件 模拟触发dom元素事件 如图;laya 内部添加单机事件,来模拟 dom元素 input的单击打开上传文件窗口的行为。 input的单击事件触发了,但是没有触发默认行为,打开上传窗口。 document 来模拟没问题。 难...
来源: Laya_社区 发布时间: 20180404
...毁自己本身。 Node event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher frameLoop(delay:int, caller:*, method:Function, args:Array = null, coverBefore:Boolean = true):void 定时重复执行某函数(基于帧率)。功能同Laya.timer.frameLoop()。 Node frameOnce(d...
来源: Laya2.0_api 发布时间: 20190513
...毁此对象。 TimeLine event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher from(target:*, props:Object, duration:Number, ease:Function = null, offset:Number = 0):TimeLine 从 props 属性,缓动到当前状态。 TimeLine from(target:*, props:Object, duration:Number,...
来源: Laya2.0_api 发布时间: 20190513
...毁此对象。 TimeLine event(type:String, data:* = null):Boolean 派发事件。 EventDispatcher from(target:*, props:Object, duration:Number, ease:Function = null, offset:Number = 0):TimeLine 从 props 属性,缓动到当前状态。 TimeLine from(target:*, props:Object, duration:Number,...
来源: laya_api 发布时间: 20170929
...m 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
... LayaAir2.61 测试版 物理引擎bug 百分百 复现 图片添加点击事件 有的不生效 问题状态 最新活动: 2020-09-22 11:42 浏览: 1275 关注: 3 人 Giealxon • 2020-09-22 11:37 马上,刚刚弄好 Giealxon • 2020-09-22 11:44 越往边界移动误差越大 Giealxon • 2020-0...
来源: Laya_社区 发布时间: 20200921
...幕外面的后 右边剩余的宽度” 接下来我们会用到自定义事件的方式 让Floor通知它父类MapFloor 什么时候改生成新的地板 什么时候删除屏幕外面的地板 既然如此 我们来写一下代码 (function(){ /** * 地板类 */ function Floor(){ //背景贴图...
来源: Laya_社区 发布时间: 20160728