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

25 lines
505 B
C#

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