Update UpdateSettingEditor.cs

This commit is contained in:
Alex-Rachel
2025-03-25 16:39:14 +08:00
parent 8b715ffc8e
commit 27ce7e8ecc

View File

@@ -73,7 +73,7 @@ namespace TEngine.Editor
{ {
UpdateSetting updateSetting = null; UpdateSetting updateSetting = null;
string[] guids = AssetDatabase.FindAssets("t:ScriptGeneratorSetting"); string[] guids = AssetDatabase.FindAssets("t:UpdateSetting");
if (guids.Length >= 1) if (guids.Length >= 1)
{ {
string path = AssetDatabase.GUIDToAssetPath(guids[0]); string path = AssetDatabase.GUIDToAssetPath(guids[0]);
@@ -82,7 +82,7 @@ namespace TEngine.Editor
if (updateSetting == null) if (updateSetting == null)
{ {
Log.Error("Can not find ScriptGeneratorSetting"); Log.Error("Can not find UpdateSetting");
return; return;
} }