Quantcast
Channel: Cocos中文社区 - 最新主题
Viewing all articles
Browse latest Browse all 91172

使用Cocos Creator v1.3.0-beta.4运行范例项目出错

$
0
0

@heyuanchao 写道:

使用Cocos Creator v1.3.0-beta.4创建一个范例集合项目,浏览器运行KeyboardInput范例报错,错误如下:
SimpleKeyboardMovement.js:21 Uncaught TypeError: Cannot read property 'on' of undefined

经查cc.systemEvent.on(cc.SystemEvent.EventType.KEY_DOWN, this.onKeyDown, this);执行出错,期望解决上述问题

帖子: 1

参与者: 1

阅读整个主题


Viewing all articles
Browse latest Browse all 91172

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>