playtest-unity/playtest/Library/PackageCache/com.unity.visualscripting@1.../Runtime/VisualScripting.Flow/FlowGraphData.cs

15 lines
426 B
C#
Raw Normal View History

2023-06-19 23:21:21 -04:00
namespace Unity.VisualScripting
{
public sealed class FlowGraphData : GraphData<FlowGraph>, IGraphDataWithVariables, IGraphEventListenerData
{
public VariableDeclarations variables { get; }
public bool isListening { get; set; }
public FlowGraphData(FlowGraph definition) : base(definition)
{
variables = definition.variables.CloneViaFakeSerialization();
}
}
}