質問編集履歴
1
コードを修正しました
test
CHANGED
File without changes
|
test
CHANGED
@@ -16,6 +16,8 @@
|
|
16
16
|
|
17
17
|
public GameObject stage7;
|
18
18
|
|
19
|
+
public GameObject generateStage;
|
20
|
+
|
19
21
|
|
20
22
|
|
21
23
|
private void GenerateStage(int lv)
|
@@ -28,7 +30,7 @@
|
|
28
30
|
|
29
31
|
stageName = "stage" + generateStageNo;
|
30
32
|
|
31
|
-
generateStage = stageName;
|
33
|
+
generateStage = stageName;//14行目はここです
|
32
34
|
|
33
35
|
Instantiate(generateStage);
|
34
36
|
|