组件导出代码

This commit is contained in:
2025-07-25 00:10:54 +08:00
parent 288bf3129c
commit 5580b43743
2 changed files with 36 additions and 2 deletions

View File

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