DynamicPathThreadJob.DynamicPathThreadJob C# (CSharp) Method

DynamicPathThreadJob() public method

Constructor that initializes the start node and end node of the path planning
public DynamicPathThreadJob ( Node, startNode, Node, endNode, HashSet closedNodes, double pathLength, bool useItemReduction ) : System.Collections.Generic
startNode Node, Node object where the path planning starts from
endNode Node, Node object representing where the path should move towards
closedNodes HashSet
pathLength double
useItemReduction bool
return System.Collections.Generic
    public DynamicPathThreadJob(Node startNode, Node endNode, HashSet<Vector3> closedNodes, double pathLength, bool useItemReduction)
    {
        this.startNode = startNode;
        this.endNode = endNode;
        this.closedNodes = closedNodes;
        destinationNode = null;
        this.pathLength = pathLength;
        this.useItemReduction = useItemReduction;
    }