Files

23 lines
494 B
C#

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