回答編集履歴
2
修正
test
CHANGED
@@ -26,7 +26,7 @@
|
|
26
26
|
|
27
27
|
FieldInfo field = type.GetField($"player{i}");
|
28
28
|
|
29
|
-
playerAll[i-1] = (GameObject)field.GetValue(o
|
29
|
+
playerAll[i-1] = (GameObject)field.GetValue(hoge);
|
30
30
|
|
31
31
|
}
|
32
32
|
|
1
修正
test
CHANGED
@@ -20,8 +20,6 @@
|
|
20
20
|
|
21
21
|
```c#
|
22
22
|
|
23
|
-
Object obj = new SampleClassA();
|
24
|
-
|
25
23
|
Type type = hoge.GetType();
|
26
24
|
|
27
25
|
for(int i = 1; i <= 10; i++){
|