• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 19 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0027 秒)

11. 请问Touch相关的事件有么? [ 63%]

...8-02 11:44 如何做多点触碰? 纪龙 • 2018-08-02 22:42 MouseMove 与TouchMove还是有区别的 Laya_Aaron • 2018-08-03 10:02 @纪龙:官网示例有,这个是封装了鼠标和touch的。

来源: Laya_社区 发布时间: 20180802

12. MOUSE事件和移动端的Touch事件如何对应 [ 61%]

...035 关注: 2 人 riven • 2017-06-01 18:38 能直接监听 this.on("touchmove", this, this.onMouseMove)?

来源: Laya_社区 发布时间: 20170601

13. 屏蔽手机浏览器滑动 无效 [ 60%]

...链接 提交 1 个回复 Apple 赞同来自: document.addEventListener('touchmove', function (e) { e.preventDefault(); }, false); 2018-04-10 0 4 分享 微博 QZONE 微信 为什么被折叠? 0 个回复被折叠 要回复问题请先登录 发起人 yplpf 相关问题 Dialog:屏蔽点击Dialog...

来源: Laya_社区 发布时间: 20180410

14. Laya的Mouse Event有没有类似COCOS-JS的event.touch.getDelta() [ 58%]

...S的event.touch.getDelta() 在参考一些代码,发现Cocos-JS有个api是touchmove中,获取移动的增量的:event.touch.getDelta(). 挺好的.但没有找到Laya中有类似的. 2018-10-29 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关...

来源: Laya_社区 发布时间: 20181029

15. iphone自带浏览器页面怎么锁定 [ 56%]

...L页面加上这句可以解决。<script>document.addEventListener('touchmove', function (e) { e.preventDefault(); }, false);</script> 2016-09-01 1 0 分享 微博 QZONE 微信 cuixueying 赞同来自:    你好,这个取决于手机端浏览器的限制,layaAir下没有直接提供...

来源: Laya_社区 发布时间: 20160831

16. 打包APK运行,drag拖动出现问题;color="#0"程序直接崩溃 [ 53%]

... 时报错,“ touchemoves is undefined”                case "touchmove":                      var touchemoves:Array = evt.targetTouches;                     if(!touchemoves)break;                     for (j = 0, n = touchemoves.length; j &lt...

来源: Laya_社区 发布时间: 20170510

17. 3D 鼠标检测 错乱 [ 52%]

...(this._touches.length===0)&& (this._mouseTouchUp()); break ; case "touchmove": this._changeTouches(e.changedTouches,2); this._mouseTouchRayCast(cameras); break ; default : throw "Input3D:unkonwn event type."; } } this._eventList.length=0; }; var mouseTouch=this._mouseTouch; var pressedSprite...

来源: Laya_社区 发布时间: 20200119

18. 向官方反映1.75引擎库后 事件执行 发生的bug [ 42%]

...               break ;                     case "touchmove":;                         var touchemoves=evt.changedTouches;                         for (j=0,n=touchemoves.length;j < n;j++){                            ...

来源: Laya_社区 发布时间: 20170614

19. 打包成APK运行一半崩溃 [ 20%]

...11 11:17:11.005    8591-8658/com.mygame.laya I/LayaBox﹕ addevtlistener:touchmove 04-11 11:17:11.005    8591-8658/com.mygame.laya I/LayaBox﹕ addevtlistener:mousewheel 04-11 11:17:11.005    8591-8658/com.mygame.laya I/LayaBox﹕ addevtlistener:DOMMouseScroll 04-11 11:17:11.009    8591-8658...

来源: Laya_社区 发布时间: 20170411