UnityGame/Library/PackageCache/com.unity.visualscripting/Runtime/VisualScripting.Flow/FlowGraphData.cs

15 lines
426 B
C#
Raw Permalink Normal View History

2024-10-27 10:53:47 +03: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();
}
}
}