2025-04-01 18:26:48 +08:00
|
|
|
using System;
|
|
|
|
|
using System.Collections;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using Sirenix.OdinInspector;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
namespace Stary.Evo.TableTextConversion
|
|
|
|
|
{
|
|
|
|
|
public class UITableData : ScriptableObject, ITableData
|
|
|
|
|
{
|
|
|
|
|
public string TableName { get; }
|
|
|
|
|
public List<MessageInfo> infos;
|
|
|
|
|
|
|
|
|
|
[Serializable]
|
|
|
|
|
public class MessageInfo
|
|
|
|
|
{
|
|
|
|
|
// 序号
|
|
|
|
|
[GUIColor(0, 1, 0)] public int index;
|
|
|
|
|
// 名称
|
2025-04-21 15:46:47 +08:00
|
|
|
public string uiid;
|
2025-04-01 18:26:48 +08:00
|
|
|
// 名称描述
|
2025-04-21 15:46:47 +08:00
|
|
|
public string filename;
|
|
|
|
|
|
|
|
|
|
public string uitype;
|
2025-04-25 10:02:32 +08:00
|
|
|
public List<SubtitleInfo> subtitle;
|
2025-04-21 15:46:47 +08:00
|
|
|
|
2025-04-01 18:26:48 +08:00
|
|
|
}
|
2025-04-25 10:02:32 +08:00
|
|
|
[Serializable]
|
|
|
|
|
public class SubtitleInfo
|
|
|
|
|
{
|
|
|
|
|
public string lineid;
|
|
|
|
|
public string subtitle;
|
|
|
|
|
public float start;
|
|
|
|
|
public float end;
|
|
|
|
|
}
|
2025-04-01 18:26:48 +08:00
|
|
|
}
|
2025-04-21 15:46:47 +08:00
|
|
|
}
|
|
|
|
|
|