-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
Update scripting_player_input.rst #8722
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
Conversation
Commenting out code from the previous exercise that causes the icon to float up, making it difficult for users to see the example of directional input.
Removing unnecessary spaces in C# comments Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
skyace65
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to tell people to un-comment the Position line in the next section, otherwise that code doesn't work.
Updating phrasing per suggestion Co-authored-by: Matthew <matthewehr@hotmail.com>
Informing user to uncomment the commented code.
|
|
||
| To only move when pressing a key, we need to modify the code that calculates the | ||
| velocity. Replace the line starting with ``var velocity`` with the code below. | ||
| velocity. Uncomment the code and replace the line starting with ``var velocity`` with the code below. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@skyace65 I've made a simple update that accounts for both comments.
|
Thanks! |
Update scripting_player_input.rst (cherry picked from commit a621959)
|
Cherry-picked to 4.2 in #9648. |
Commenting out code from the previous exercise that causes the icon to float up, making it difficult for users to see the example of directional input.