34 lines
800 B
C#
34 lines
800 B
C#
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);
|
|
}
|
|
} |