Преглед изворни кода

关卡编辑器文字修改

wgl пре 5 месеци
родитељ
комит
f04b79e24c

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

@@ -120,8 +120,8 @@ public class GameMapEditor : EditorWindow
 	private static readonly GUIContent GC_EditorHead = new GUIContent("Editor");
 	private static readonly GUIContent GC_AssetHead = new GUIContent("Asset");
 	private static readonly GUIContent GC_MapHead = new GUIContent("关卡");
-    private static readonly GUIContent GC_LayersHead = new GUIContent("波次");
-    private static readonly GUIContent GC_TilesHead = new GUIContent("兵种");
+    private static GUIContent GC_LayersHead = new GUIContent("波次");
+    private static readonly GUIContent GC_TilesHead = new GUIContent("怪物表");
 	private static readonly GUIContent GC_new = new GUIContent("new");
 	private static readonly GUIContent GC_rename = new GUIContent("rename");
 	private static readonly GUIContent GC_apply = new GUIContent("apply");
@@ -658,6 +658,7 @@ public class GameMapEditor : EditorWindow
 					{
 						EditorGUILayout.PrefixLabel("Ident");
 						GUILayout.Label(" => " + asset.maps[mapIdx].showIdent);
+						GC_LayersHead = new GUIContent($"\"{asset.maps[mapIdx].showIdent}\"出怪表");
 						if (GUILayout.Button(GC_rename, EditorStyles.miniButtonRight)) GameMapTextEd.ShowEd("Rename map", "Enter a unique name", asset.maps[mapIdx].showIdent, OnRenameMap);
 						GUILayout.FlexibleSpace();
 					}