-
Notifications
You must be signed in to change notification settings - Fork 370
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
快速上手: 制作第一个游戏 #289
Comments
功能的是对的啊, player是node节点, 本身不包含jumpHeight属性 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
URL : https://github.com/cocos-creator/creator-docs/blob/master/zh/getting-started/quick-start.md
應該要這樣寫:
this.player.jumpHeight
不用這樣寫:
this.player.getComponent('Player').jumpHeight
編譯出來的 JS 會報錯
The text was updated successfully, but these errors were encountered: