界面组件导出工具

This commit is contained in:
2025-07-20 01:24:55 +08:00
parent 645d57c7c9
commit 91fd6d30a1
12 changed files with 234 additions and 49 deletions

View File

@@ -0,0 +1,19 @@
using System;
using UnityEngine;
using System.Collections.Generic;
namespace CreatGame.UI
{
public class UIComponentExport : MonoBehaviour
{
[Serializable]
public class UIEntry
{
public string key;
public GameObject prefab;
public string selectedComponentName; // 存储选择的组件类型名
}
public List<UIEntry> entries = new List<UIEntry>();
}
}