17 lines
367 B
C#
17 lines
367 B
C#
using System;
|
|
using UnityEngine;
|
|
using System.Collections.Generic;
|
|
|
|
public class UIExportTool : MonoBehaviour
|
|
{
|
|
[Serializable]
|
|
public class UIEntry
|
|
{
|
|
public string key;
|
|
public GameObject prefab;
|
|
public string selectedComponentName; // 存储选择的组件类型名
|
|
}
|
|
|
|
public List<UIEntry> entries = new List<UIEntry>();
|
|
}
|