水平方向
-1か+1だけど徐々に変化
int ax = Input.GetAxis("Horizontal");
-1か+1
int ax = Input.GetAxisRaw("Horizontal");
垂直方向
-1か+1
int ay = Input.GetAxisRaw("Vertical");
マウスボタン
Input.GetMouseButtonUp(0)
スペースキー
KeyCode.Space
押された瞬間
GetKeyDown
押されているかどうか
GetKey
最終更新:2015年04月20日 20:04