mirror of
https://github.com/Alex-Rachel/TEngine.git
synced 2025-08-14 16:51:28 +00:00
Update ScriptGenerator.cs
This commit is contained in:
@@ -68,7 +68,7 @@ namespace TEngine.Editor.UI
|
|||||||
}
|
}
|
||||||
else
|
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");
|
strFile.Append("\tclass " + root.name + " : UIWindow\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user