回答編集履歴
1
ソース
test
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
```c#
|
2
2
|
|
3
|
-
|
3
|
+
for(;;) {
|
4
4
|
|
5
|
-
for (i = 20; i < 28; i += 2)
|
5
|
+
for (int i = 20; i < 28; i += 2)
|
6
6
|
|
7
|
-
{
|
7
|
+
{
|
8
8
|
|
9
|
-
this.transform.localScale = new Vector3(i, i, i);
|
9
|
+
this.transform.localScale = new Vector3(i, i, i);
|
10
10
|
|
11
|
-
yield return new WaitForSeconds(2);
|
11
|
+
yield return new WaitForSeconds(2);
|
12
|
+
|
13
|
+
}
|
12
14
|
|
13
15
|
}
|
14
16
|
|
15
|
-
i = 20;
|
16
|
-
|
17
17
|
```
|
18
18
|
|
19
|
-
|
19
|
+
でも、無限ループしちゃうよ
|