Is there a way to determine when a new area is created after a GraphUpdateScene is applied? I.e. the GUS is set to modifyWalkability = true and setWalkability = false, and when applied it separates one GridGraph area into two (i.e. a door closing). I’m trying to figure out a way to check if a new area was created during the update. The lastUniqueAreaIndex variable in AstarPath looked promising, but I’m having difficulties getting around the fact that the GUS object is asynchronous.
So before I spend time adding callback support to GUS and the UpdateGraphs function, I just wanted to know if there was an easier way to accomplish this.
Thanks!