Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

触摸监听无效 #259

Closed
zengsipei opened this issue Jan 25, 2018 · 3 comments
Closed

触摸监听无效 #259

zengsipei opened this issue Jan 25, 2018 · 3 comments

Comments

@zengsipei
Copy link

我又来了,还是学习视频的时候遇到的问题

技术胖实战 05 这段代码应用在预置资源上正常

节点系统事件 以这个方式写同样内容的代码不会执行(log 上下文都可以,事件内不会输出)

版本:1.8.1

@jareguo
Copy link
Contributor

jareguo commented Feb 27, 2018

能提供一个 demo 吗?这样我们看不太懂问题出在哪

@zengsipei
Copy link
Author

@jareguo 不好意思,我也差不多忘了,大概是:要监听触摸让一个预制的 player 做出动作,但是用 节点系统事件 无任何反应,该段代码没有执行。

就是把 这段内容 的监听代码部分替换成 节点系统事件

浏览器是谷歌,手机是 iPhone 7 。

@jareguo
Copy link
Contributor

jareguo commented Mar 1, 2018

好的,这个应该不会有问题才对。不过我们最近也修复了节点系统事件的一个潜在问题。之后如果还有遇到的话,再提供一下 demo 吧。

@jareguo jareguo closed this as completed Mar 1, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants