05 table 更新

This commit is contained in:
2025-04-21 11:11:02 +08:00
parent 8c5c2580c4
commit a98e20a9c2
5 changed files with 155 additions and 58 deletions

View File

@@ -17,9 +17,23 @@ namespace Stary.Evo.TableTextConversion
// 序号
[GUIColor(0, 1, 0)] public int index;
// 名称
public string name;
public string auId;
// 名称描述
public string nameMessage;
public string fileName;
public AudioType auType;
public int lineId;
public float startTime;
public float endTime;
public string text;
}
public enum AudioType
{
Null,
music,
effect,
sound,
}
}
}

View File

@@ -0,0 +1,33 @@
using System;
using System.Collections;
using System.Collections.Generic;
using Sirenix.OdinInspector;
using UnityEngine;
namespace Stary.Evo.TableTextConversion
{
public class VideoTableData : ScriptableObject, ITableData
{
public string TableName { get; }
public List<MessageInfo> infos;
[Serializable]
public class MessageInfo
{
// 序号
[GUIColor(0, 1, 0)] public int index;
// 名称
public string vId;
// 名称描述
public string fileName;
public string vType;
public string location;
public float time;
public bool subtitle;
public string remark;
}
}
}

View File

@@ -0,0 +1,3 @@
fileFormatVersion: 2
guid: e14b39e2bfdb4587b6d8a7a49fe4d11e
timeCreated: 1745201406