Detecting if A*Pathfinding Project exists in project

I’m wanting to write an editor extension to a package that’s currently using unity’s built in navmesh system to be compatible with A*Pathfinding. I was looking through provided source code and I’m not finding a handy relevant #define to hook into. Is there any reason a global #define isn’t setup in the project and what are my possible options? Was hoping to add compiler/editor directives for component requirements on the game object.



If you use assembly definition files (Unity - Manual: Assembly definitions) then you can add a custom define that only activates if the A* Pathfinding Project exists.