Files
plugin-library/Assets/05.TableTextConversion/RunTime/Base/AudioTableData.cs

37 lines
824 B
C#
Raw Normal View History

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 AudioTableData : 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 auid;
public AudioType autype;
2025-04-01 18:26:48 +08:00
// 名称描述
2025-04-21 15:46:47 +08:00
public string filename;
public string voice;
public string uirelated;
2025-04-01 18:26:48 +08:00
}
2025-04-21 11:11:02 +08:00
public enum AudioType
{
Null,
music,
effect,
sound,
}
2025-04-01 18:26:48 +08:00
}
}