I am using a 2D tilemap in Unity and an A* algorithm that I recreated from this tutorial: https://www.youtube.com/watch?v=LCDwDkIcYiQ&t=989s
However, in my use ca