WGL 2 달 전
부모
커밋
14757d64a0
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      ActionTowerDefense/Assets/GameLevelEditor/GameMap/CoreScripts/Editor/GameMapEditor.cs

+ 2 - 0
ActionTowerDefense/Assets/GameLevelEditor/GameMap/CoreScripts/Editor/GameMapEditor.cs

@@ -1021,6 +1021,7 @@ public class GameMapEditor : EditorWindow
 							newSpawnTime.startTime = EditorGUILayout.IntField("Start Time", layer.spawnTimes[spawnTimeIndex].startTime);
 							newSpawnTime.endTime = EditorGUILayout.IntField("End Time", layer.spawnTimes[spawnTimeIndex].endTime);
 							newSpawnTime.num = EditorGUILayout.IntField("Number", layer.spawnTimes[spawnTimeIndex].num);
+							newSpawnTimes[i] = newSpawnTime;
 							spawnTimeIndex++;
 							break;
                         }
@@ -1033,6 +1034,7 @@ public class GameMapEditor : EditorWindow
 							newSpawnTime.startTime = EditorGUILayout.IntField("Start Time", 0);
 							newSpawnTime.endTime = EditorGUILayout.IntField("End Time", 0);
 							newSpawnTime.num = EditorGUILayout.IntField("Number", 1);
+							newSpawnTimes[i] = newSpawnTime;
 							spawnTimeIndex++;
 							break;
 						}