38 lines
859 B
C#
38 lines
859 B
C#
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;
|
|
// 名称
|
|
public string auid;
|
|
public AudioType autype;
|
|
// 名称描述
|
|
public string filename;
|
|
public string voice;
|
|
public string trigger;
|
|
public string uirelated;
|
|
}
|
|
|
|
public enum AudioType
|
|
{
|
|
Null,
|
|
music,
|
|
effect,
|
|
sound,
|
|
}
|
|
|
|
}
|
|
} |