A* Pathfinding Project
3.6
The A* Pathfinding Project for Unity 3D
|
The A* Pathfinding Project is written in C#, but it can be used from Javascript (Unityscript) by the click of a button.
Go to A* Inspector -> Settings -> Editor -> Enable Js Support.
This will restructure the folders to make sure the C# scripts are compiled before the rest of the scripts in the project. Now you can use the A* Pathfinding Project classes like any other Js script.
There is just one thing to note: Unityscript does not support optional parameters, so in some cases you will have to specify more parameters to functions than C# users have to. If you get errors in your code that it cannot find the correct overload for a function you are trying to use, check the docs for the exact parameters to the function and make sure to include all of them.