My graph isn’t all that complicated; I just have the one grid graph in my scene.
But I do have blocks that can be destroyed, and when this happens, I need to update the graph.
First of all, how do I do this? I am not even sure what script I would need to access, let alone what function to call.
Second of all, are there any optimizations I should be aware of? I am literally changing only one square on a grid graph; is there any way I can just have the system rescan that one spot rather than the whole graph?