Update ScriptGenerator.cs

This commit is contained in:
Alex-Rachel
2025-07-30 23:09:03 +08:00
parent 55ffdf4edb
commit be12d1024a

View File

@@ -68,7 +68,7 @@ namespace TEngine.Editor.UI
}
else
{
strFile.Append("\t[Window(UILayer.UI)]\n");
strFile.Append($"\t[Window(UILayer.UI,location:\"{root.name}\")]\n");
strFile.Append("\tclass " + root.name + " : UIWindow\n");
}