UGUI代码导出工具

This commit is contained in:
2025-07-16 18:22:32 +08:00
parent 76507e5929
commit a6f442044a
5 changed files with 10 additions and 7 deletions

View File

@@ -133,6 +133,7 @@ public class UIExportToolEditor : Editor
sb.AppendLine("{");
sb.AppendLine($" public class {className} : UIViewBase");
sb.AppendLine(" {");
sb.AppendLine($" public override string PrefabPath => \"Prefabs/UI/{target.GameObject().name}\";");
// 字段定义