05 table 更新
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
33
Assets/05.TableTextConversion/RunTime/Base/VideoTableData.cs
Normal file
33
Assets/05.TableTextConversion/RunTime/Base/VideoTableData.cs
Normal 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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e14b39e2bfdb4587b6d8a7a49fe4d11e
|
||||
timeCreated: 1745201406
|
||||
Reference in New Issue
Block a user