This package provides a Pathfinder class that can be used to find the shortest path between two points in any Unity scene. It supports both 2D and 3D environments and can be used with various types of nodes, such as tiles, colliders, or custom objects. The package requires a heuristic function to estimate the distance between nodes and a method to retrieve connected nodes and their distances. The algorithm can be customized with a patience parameter to control the number of steps before giving up.
To use the Pathfinder class, create an instance and pass in the heuristic distance function, connected nodes and step costs function, and calculator patience. The GenerateAstarPath method returns a list of connected nodes that lead to the target. The package supports various data types, including Vector3, Vector2, and custom classes, as long as they have a measurable distance between instances.





