Skip to content

Commit a42a7ab

Browse files
committed
[增加]1. 增加代码生成路径打印
1 parent 5459878 commit a42a7ab

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Editor/UGUICodeGenerator.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
using System.Collections.Generic;
22
using System.IO;
33
using System.Text;
4-
using GameFrameX.Runtime;
54
using GameFrameX.UI.UGUI.Runtime;
65
using UnityEditor;
76
using UnityEngine;
@@ -55,7 +54,7 @@ internal static void Generate(GameObject selectedObject)
5554
File.WriteAllText(filePath, codeString, Encoding.UTF8);
5655
AssetDatabase.Refresh();
5756

58-
Debug.Log("生成UI代码完成");
57+
Debug.Log("生成UI代码完成 文件路径:" + filePath);
5958
Debug.Log("现在请将生成的代码挂载到当前的UGUI预制体上,然后点击重新绑定列表");
6059
return;
6160
}

0 commit comments

Comments
 (0)