回答編集履歴

1

情報の修正

2022/09/28 07:51

投稿

KomoriGameDev
KomoriGameDev

スコア433

test CHANGED
@@ -1,4 +1,5 @@
1
+ > Assets\scripts\paddleScripot.cs(18,43): error CS1026: ) expected
1
- Vector3には3つ引数指定しください。
2
+ このエラーは「有るべきところに閉じカッコがありませんよ」という意味なので18行目のVector3のカッコ閉じていないのが原因です
2
3
  ```cs
3
- transform.position += new Vector3(Input.GetAxis("Horizontal") * Time.deltaTime, 0, 0);
4
+ transform.position += new Vector3(Input.GetAxis("Horizontal") * Time.deltaTime, 0);
4
5
  ```