Skip to content

Commit 5459878

Browse files
committed
[修改]1. 修改拼接路径错误问题
1 parent aa2296b commit 5459878

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Editor/UGUICodeGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ static void Code()
4343
internal static void Generate(GameObject selectedObject)
4444
{
4545
string className = selectedObject.name;
46-
string savePath = PathHelper.Combine(Application.dataPath, "Hotfix", "UI", "UGUI", className);
46+
string savePath = System.IO.Path.Combine(Application.dataPath, "Hotfix", "UI", "UGUI", className);
4747
CreateFoldersIfNotExist(savePath);
4848
var codeString = GenerateCode(selectedObject);
4949
string filePath = Path.Combine(savePath, className + ".UI.cs");

0 commit comments

Comments
 (0)