回答編集履歴
2
詳細の追加とコードの修正
test
CHANGED
@@ -28,7 +28,7 @@
|
|
28
28
|
|
29
29
|
{
|
30
30
|
|
31
|
-
Vector3 position =
|
31
|
+
Vector3 position = positions[Random.Range(0, position.Count)].position;
|
32
32
|
|
33
33
|
Instantiate(obj, position, Quaternion.identity);
|
34
34
|
|
1
詳細の追加とコードの修正
test
CHANGED
@@ -14,7 +14,7 @@
|
|
14
14
|
|
15
15
|
|
16
16
|
|
17
|
-
public List<Transform> po
|
17
|
+
public List<Transform> positions;
|
18
18
|
|
19
19
|
|
20
20
|
|