horizontal
时间: 2023-07-27 19:06:57 浏览: 103
HorizontalProgressBar
水平方向的输入可以通过使用Input.GetAxis("Horizontal")来获取。在代码中,可以使用x = Input.GetAxis("Horizontal")来记录键盘的水平位移。\[2\]
#### 引用[.reference_title]
- *1* *2* *3* [Unity笔记-07](https://blog.csdn.net/qq_52324195/article/details/120329010)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文