using System;
using System.Collections.Generic;
namespace Stary.Evo.StoryEditor
{
///
/// 空节点(流程节点)数据
///
[Serializable]
public class FlowNodeData : NodeData
{
public List pre = new();
public List next = new();
///
/// 后续连接执行类型
///
public NodeExecuteType executeType = NodeExecuteType.Async;
public FlowNodeData()
{
}
public FlowNodeData(NodeData data)
{
name = data.name;
type = NodeType.Empty;
}
public new FlowNodePlayer GetPlayer(GraphPlayer graph)=>
new(graph, this);
}
}