Quantcast
Channel: Questions in topic: "namespace"
Viewing all articles
Browse latest Browse all 398

Trouble with A* Pathfinding Project

$
0
0
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.

Viewing all articles
Browse latest Browse all 398

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>