大约有 303 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0048 秒)
...y,_outHitResult); //如果碰撞到物体 if (_outHitResult.succeeded) { //删除碰撞到的物体 text.text = "碰撞到了" + _outHitResult.collider.owner.name ; trace("碰撞到物体!!") } } ``` (图2)
来源: Laya2.0_文档 发布时间: 20210715
...on, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为...
来源: Laya2.0_api 发布时间: 20190513
Laya.EventDispatcher off 删除侦听器 var eventDis = new Laya.EventDispatcher() eventDis.on('TEST_EVENT_DIS', this, someEventHandler, null) eventDis.off('TEST_EVENT_DIS', this, another_eventHandler, false) off 怎样才能 从 EventDispatcher 对象中删除侦听器? ...
来源: Laya_社区 发布时间: 20180914
Stage中删除不掉Scene Laya.stage.on(Laya.Event.MOUSE_UP, this, function () { var str = ""; if (!hit.sprite3D) { str = "点击选取的几何体"; } else { Laya.stage.removeChild(scene3D); } console.log(str); }); 每次删除scene3D后...
来源: Laya_社区 发布时间: 20171016
...on, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为...
来源: Laya2.0_api 发布时间: 20190513
[LayaAir3]右键up删除不了监听 左键up能删除的监听,右键up就删除不了。监听是用右键down添加的,这是为什么、 代码是从官方给的实例的,滚动滑轮,放大缩小图片。 附件 : --> ImageTest.rar 2025-02-20 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20250220
...on, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 EventDispatcher on(type:String, caller:*, listener:Function, args:Arra...
来源: laya_api 发布时间: 20170929
index.html没引用到的lib文件夹下的js可以全部删除吗? 如题,减少wx里上传的资源 2018-04-26 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 yung 赞同来自: Prajna 可以删除 2018-04-2...
来源: Laya_社区 发布时间: 20180426
...他们用addcomponentintance添加了rigidbody和boxcollider,怎么移除删除他们 解决了。 是我太菜 2020-07-11 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_XS 赞同来自: 刚体和碰撞体...
来源: Laya_社区 发布时间: 20200711
...on, onceOnly:Boolean = false):EventDispatcher 从 EventDispatcher 对象中删除侦听器。 EventDispatcher offAll(type:String = null):EventDispatcher 从 EventDispatcher 对象中删除指定事件类型的所有侦听器。 EventDispatcher offAllCaller(caller:*):EventDispatcher 移除caller为...
来源: Laya2.0_api 发布时间: 20190513