111
This commit is contained in:
30
Assets/05.TableTextConversion/RunTime/Base/AudioEntity.cs
Normal file
30
Assets/05.TableTextConversion/RunTime/Base/AudioEntity.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using System;
|
||||
using Sirenix.OdinInspector;
|
||||
|
||||
namespace Stary.Evo.TableTextConversion
|
||||
{
|
||||
[Serializable]
|
||||
public class AudioEntity
|
||||
{
|
||||
// 序号
|
||||
[GUIColor(0, 1, 0)] public int index;
|
||||
|
||||
// 名称
|
||||
public string auid;
|
||||
|
||||
public AudioType autype;
|
||||
|
||||
// 名称描述
|
||||
public string filename;
|
||||
public string voice;
|
||||
public string uirelated;
|
||||
}
|
||||
|
||||
public enum AudioType
|
||||
{
|
||||
Null,
|
||||
music,
|
||||
effect,
|
||||
sound,
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a1a28b6c544f4e939d68e56f08d87403
|
||||
timeCreated: 1762855901
|
||||
@@ -9,29 +9,6 @@ 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 uirelated;
|
||||
}
|
||||
|
||||
public enum AudioType
|
||||
{
|
||||
Null,
|
||||
music,
|
||||
effect,
|
||||
sound,
|
||||
}
|
||||
|
||||
public List<AudioEntity> infos;
|
||||
}
|
||||
}
|
||||
28
Assets/05.TableTextConversion/RunTime/Base/UIEntity.cs
Normal file
28
Assets/05.TableTextConversion/RunTime/Base/UIEntity.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Sirenix.OdinInspector;
|
||||
|
||||
namespace Stary.Evo.TableTextConversion
|
||||
{
|
||||
[Serializable]
|
||||
public class UIEntity
|
||||
{
|
||||
// 序号
|
||||
[GUIColor(0, 1, 0)] public int index;
|
||||
// 名称
|
||||
public string uiid;
|
||||
// 名称描述
|
||||
public string filename;
|
||||
|
||||
public string uitype;
|
||||
public List<SubtitleInfo> subtitle;
|
||||
}
|
||||
[Serializable]
|
||||
public class SubtitleInfo
|
||||
{
|
||||
public string lineid;
|
||||
public string subtitle;
|
||||
public float start;
|
||||
public float end;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: aa8c79fd9e99417abfdebb6ffa12629b
|
||||
timeCreated: 1762855912
|
||||
@@ -9,30 +9,7 @@ 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;
|
||||
// 名称
|
||||
public string uiid;
|
||||
// 名称描述
|
||||
public string filename;
|
||||
|
||||
public string uitype;
|
||||
public List<SubtitleInfo> subtitle;
|
||||
|
||||
}
|
||||
[Serializable]
|
||||
public class SubtitleInfo
|
||||
{
|
||||
public string lineid;
|
||||
public string subtitle;
|
||||
public float start;
|
||||
public float end;
|
||||
}
|
||||
public List<UIEntity> infos;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
24
Assets/05.TableTextConversion/RunTime/Base/VideoEntity.cs
Normal file
24
Assets/05.TableTextConversion/RunTime/Base/VideoEntity.cs
Normal file
@@ -0,0 +1,24 @@
|
||||
using System;
|
||||
using Sirenix.OdinInspector;
|
||||
|
||||
namespace Stary.Evo.TableTextConversion
|
||||
{
|
||||
[Serializable]
|
||||
public class VideoEntity
|
||||
{
|
||||
// 序号
|
||||
[GUIColor(0, 1, 0)] public int index;
|
||||
|
||||
// 名称
|
||||
public string vidid;
|
||||
|
||||
// 名称描述
|
||||
public string filename;
|
||||
public string vidtype;
|
||||
|
||||
public string location;
|
||||
public float time;
|
||||
public bool subtitle;
|
||||
public string videoframeName;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,3 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f6b98bb6dbce4f999d0ca6d2d08f6900
|
||||
timeCreated: 1762855926
|
||||
@@ -9,27 +9,7 @@ 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 vidid;
|
||||
// 名称描述
|
||||
public string filename;
|
||||
public string vidtype;
|
||||
|
||||
public string location;
|
||||
public float time;
|
||||
public bool subtitle;
|
||||
public string videoframeName;
|
||||
}
|
||||
|
||||
|
||||
|
||||
public List<VideoEntity> infos;
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user