【a】可视化剧本编辑器 10.StoryEditor

This commit is contained in:
mzh
2026-01-06 14:24:23 +08:00
parent f055116d4d
commit 2e8accfed8
80 changed files with 3145 additions and 0 deletions

View File

@@ -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);
}
}