teratail header banner
teratail header banner
質問するログイン新規登録

回答編集履歴

1

情報の修正

2022/09/28 07:51

投稿

KomoriGameDev
KomoriGameDev

スコア433

answer 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
  ```