private Port GetPortInstance(DialogueNode node, Direction nodeDirection, Port.Capacity capacity = Port.Capacity.Single) { return(node.InstantiatePort(Orientation.Horizontal, nodeDirection, capacity, typeof(float))); }