wgl 5 maanden geleden
bovenliggende
commit
126ccbcffe

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

@@ -766,6 +766,8 @@ public class GameMapEditor : EditorWindow
 	{
 		string s = wiz.text;
 		wiz.Close();
+		Undo.RecordObject(asset, "Rename map");
+		asset.maps[mapIdx].showIdent = s;
 
 		//if (!string.IsNullOrEmpty(s) && s != asset.maps[mapIdx].showIdent)
 		//{