16 lines
382 B
C#
16 lines
382 B
C#
using UnityEngine;
|
|
|
|
[CreateAssetMenu(fileName = "UIPanelAddressConfig", menuName = "UI/UIPanelAddressConfig")]
|
|
public class UIPanelAddressConfig : ScriptableObject
|
|
{
|
|
[System.Serializable]
|
|
public struct PanelEntry
|
|
{
|
|
public string name;
|
|
public UIPanel type;
|
|
public string address; // Addressables 名称
|
|
}
|
|
|
|
public PanelEntry[] panels;
|
|
}
|