using System.Collections.Generic; using NodeCanvas.Framework; using NodeCanvas.Framework.Internal; using ParadoxNotion.Design; using UnityEngine; namespace NodeCanvas.StateMachines { [Category("SubGraphs")] [Color("ffe4e1")] abstract public class FSMNodeNested : FSMNode, IGraphAssignable where T : Graph { [SerializeField] private List _variablesMap; abstract public T subGraph { get; set; } abstract public BBParameter subGraphParameter { get; } public T currentInstance { get; set; } public Dictionary instances { get; set; } public List variablesMap { get { return _variablesMap; } set { _variablesMap = value; } } Graph IGraphAssignable.subGraph { get { return subGraph; } set { subGraph = (T)value; } } Graph IGraphAssignable.currentInstance { get { return currentInstance; } set { currentInstance = (T)value; } } } }