回答編集履歴

1

コードミスを修正しました。

2021/08/05 01:11

投稿

YOshim
YOshim

スコア1085

test CHANGED
@@ -40,15 +40,9 @@
40
40
 
41
41
  {
42
42
 
43
- if (Input.GetKeyDown("space"))
43
+ isGround = false;
44
44
 
45
- {
46
-
47
- isGround = false;
48
-
49
- rb.AddForce(new Vector3(0, upForce, 0));
45
+ rb.AddForce(new Vector3(0, upForce, 0));
50
-
51
- }
52
46
 
53
47
  }
54
48