Attach the Grid2D and Pathfinding Script to your collision tilemap and set the Grid attribute in the pathfinding script to your collision tilemap Then get a reference to the Pathfinding script in the ...
This script defines the Cell class used in Unity for pathfinding. It represents individual cell objects with properties such as traversability, world position, grid coordinates (X, Y, Z), and cost ...