【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,23 @@
using System;
namespace Stary.Evo.StoryEditor
{
/// <summary>
/// 节点数据
/// </summary>
[Serializable]
public class NodeData
{
/// <summary>
/// 节点名称
/// </summary>
public string name = "Unnamed Node";
/// <summary>
/// 节点类型
/// </summary>
public NodeType type = NodeType.Empty;
public NodePlayer GetPlayer(GraphPlayer graph)=>
new(graph, this);
}
}