- Home /
Trouble with A* Pathfinding Project
Hi,
I'm using the A* Pathfinding project (https://arongranberg.com/astar/docs/beginner.html), and have come across a seemingly simple problem.
I am trying to access the Seeker class from one of my scripts. I have the using Pathfinding;
directive at the top of the class but it is still not being able to be referenced/accessed.
I have solved this problem before by moving the scripts into the same folder, but am wondering if there is another way to accomplish this.
Thank you for any time and help.
EDIT :
To clarify, I downloaded the A* project and they have set themselves up in their own folder OUTSIDE of my scripts folder. In my scripts folder, I have created a script that tries to access/reference a script inside the A* folder. using Pathfinding;
(the appropriate directive to the relevant namespace as evidenced by the other scripts/examples in the A* project) does not allow me to access/reference the script Seeker
. I have solved this problem before by placing the custom script in the same folder as the Seeker script but am wondering how else to solve this, or at least why this is not resolving. Thank you.
Answer by jmfp92 · Nov 09, 2021 at 10:26 AM
This is one of those things I just don't think is going to get an acceptable answer without you showing the code. There could be TONS of reasons why this is happening and I don't think many people are going to be willing to cycle through every single one of them to help you. If you have a code snippet, you should show that