I’m attempting to follow the instructions here https://arongranberg.com/astar/documentation/dev_4_1_5_3cb9f189/writing-graph-generators.php to create a graph generator.
The steps I followed are:
- Install A* to a folder in my project.
- Create an empty game object and add an Astar Path component. Once I do, I see the “Add New Graph” area with three buttons “Grid Graph” “Point Graph” and “Navmesh Graph”.
- Copy and past the “SimpleGraph” code into a file named SimpleGraph.cs.
After following these steps, no additional greyed out button appears in the Add New Path area.
Am I missing a step? Do i need to “refresh” things somehow? Does SimpleGraph.cs need to be in a specific folder or something?