Files
plugin-library/Assets/10.StoryEditor/RunTime/Data/Node/EndNodeData.cs

25 lines
487 B
C#

using System;
using System.Collections.Generic;
namespace Stary.Evo.StoryEditor
{
[Serializable]
public class EndNodeData : NodeData
{
public List<int> pre = new();
public EndNodeData()
{
}
public EndNodeData(NodeData data)
{
name = data.name;
type = NodeType.End;
}
public new EndNodePlayer GetPlayer(GraphPlayer graph) =>
new(graph, this);
}
}