- Home /
Question by
Jasper1900 · Sep 17, 2013 at 04:48 PM ·
pathfindingjs-c#c# to javascript
Astarpathfinding Scan all graphs
Hi,
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?
Comment
Answer by Cherno · Sep 18, 2013 at 03:31 AM
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.
Your answer
![](https://koobas.hobune.stream/wayback/20220613114341im_/https://answers.unity.com/themes/thub/images/avi.jpg)