質問編集履歴

1

WaitSec内のtime = currentTime を位置行下にずらした

2020/12/19 19:52

投稿

y0shida
y0shida

スコア15

test CHANGED
File without changes
test CHANGED
@@ -96,9 +96,9 @@
96
96
 
97
97
  {
98
98
 
99
+ yield return new WaitForSeconds(2f);
100
+
99
101
  time = currentTime;
100
-
101
- yield return new WaitForSeconds(2f);
102
102
 
103
103
  }
104
104