float verticalInput = Input.GetAxis("Vertical"); Vector3 movement = new Vector3(horizontalInput, 0, verticalInput); transform.
確定! 回上一頁