Function GraphUpdateProcessor.AddToQueue

AddToQueue (GraphUpdateObject ob)

Update all graphs using the GraphUpdateObject.

Public
void AddToQueue (

GraphUpdateObject

ob

)

Update all graphs using the GraphUpdateObject.

This can be used to, e.g make all nodes in an area unwalkable, or set them to a higher penalty. The graphs will be updated as soon as possible (with respect to AstarPath.batchGraphUpdates)

See

FlushGraphUpdates