【a】可视化剧本编辑器 10.StoryEditor
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
using System;
|
||||
|
||||
namespace Stary.Evo.StoryEditor
|
||||
{
|
||||
/// <summary>
|
||||
/// 剧本段落节点数据
|
||||
/// </summary>
|
||||
[Serializable]
|
||||
public class ScriptParagraphNodeData : FlowNodeData
|
||||
{
|
||||
/// <summary>
|
||||
/// 字幕路径
|
||||
/// </summary>
|
||||
public ResourcePathData captionPath;
|
||||
/// <summary>
|
||||
/// 语音路径
|
||||
/// </summary>
|
||||
public ResourcePathData audioPath;
|
||||
|
||||
public ScriptParagraphNodeData()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public ScriptParagraphNodeData(FlowNodeData data) : base(data)
|
||||
{
|
||||
type = NodeType.Paragraph;
|
||||
executeType = data.executeType;
|
||||
}
|
||||
|
||||
public new ScriptParagraphNodePlayer GetPlayer(GraphPlayer graph) =>
|
||||
new(graph,this);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user