Skip to content

Commit f96ef7a

Browse files
committed
modified
1 parent 88dca41 commit f96ef7a

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

Scripts/Editor/Exporters/DllGuidExporter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,15 +81,15 @@ public static void Export()
8181
// 使用者按了 Cancel 會拿到空字串
8282
if (string.IsNullOrEmpty(savePath))
8383
{
84-
Debug.LogWarning("Save canceled.");
84+
Debug.LogWarning("Save canceled.");
8585
return;
8686
}
8787

8888
// 7. 寫入並更新 AssetDatabase
8989
File.WriteAllText(savePath, json);
9090
AssetDatabase.Refresh();
9191

92-
Debug.Log($"Export complete: {list.Length} script entries written to {savePath}");
92+
Debug.Log($"Export complete: {list.Length} script entries written to {savePath}");
9393
}
9494
}
9595
}

Scripts/Editor/Exporters/ScriptGuidExporter.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,15 +96,15 @@ public static void Export()
9696
// 使用者按了 Cancel 會拿到空字串
9797
if (string.IsNullOrEmpty(savePath))
9898
{
99-
Debug.LogWarning("Save canceled.");
99+
Debug.LogWarning("Save canceled.");
100100
return;
101101
}
102102

103103
// 6. 寫入並更新 AssetDatabase
104104
File.WriteAllText(savePath, json);
105105
AssetDatabase.Refresh();
106106

107-
Debug.Log($"Export complete: {list.Length} script entries written to {savePath}");
107+
Debug.Log($"Export complete: {list.Length} script entries written to {savePath}");
108108
}
109109
}
110110
}

Scripts/Editor/MapApplier.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,12 @@ public static void ApplyMap(Wrapper oldWrapper, Wrapper newWrapper)
162162

163163
AssetDatabase.Refresh();
164164

165-
Debug.Log($"🚀 Total replaced {total} m_Script references");
165+
Debug.Log($"Total replaced {total} m_Script references");
166166
var strBuilder = new StringBuilder();
167167
foreach (var replaceFileName in _replacedFileNames)
168168
strBuilder.Append($"{replaceFileName}\n");
169169
if (strBuilder.Length > 0)
170-
Debug.Log(strBuilder.ToString());
170+
Debug.Log($"Replaced objects:\n{strBuilder}");
171171
}
172172

173173
private static int _ProcessTextFile(string assetPath, ScriptMapEntry[] oldMaps, ScriptMapEntry[] newMaps)

0 commit comments

Comments
 (0)