回答編集履歴

1

間違い修正

2016/07/12 23:58

投稿

buibui80
buibui80

スコア1033

test CHANGED
@@ -20,9 +20,9 @@
20
20
 
21
21
  {
22
22
 
23
- presskeyFrames += (Input.GetKeyDown("Space")) ? 1 : 0;
23
+ presskeyFrames += (Input.GetKey("Space")) ? 1 : 0;
24
24
 
25
- if (Input. GetKeyUp("Space")) presskeyFrames = 0;
25
+ if (Input.GetKeyUp("Space")) presskeyFrames = 0;
26
26
 
27
27
 
28
28