Astarpathfinding Scan all graphs


I’m using Aron Granbergs Astarpathfinding, and unityscript/javascript.

If I instantiate a object, all the graphs in the scene need to update. You can easily do this in C#, but not in Java, does somebody know how to do this?

If also tried to make a Boolean, and if I instantiated, it would be scanned, but in C#. But you can’t acces java booleans in C#…

Does anybody have a clue?

If you only need to update the area around the instantiated object, you could just use a Graph Update Object. Move it where the instantiated object is and have it update the graphs, of course you need to set it’s size beforehand.