Function NavmeshBase.StartBatchTileUpdate
StartBatchTileUpdate
(bool exclusive=…)
Start batch updating of tiles.
Public
void StartBatchTileUpdate (
bool | exclusive=false | If true, an exception will be thrown if batching is already enabled. |
Start batch updating of tiles.
During batch updating, tiles will not be connected if they are updating with ReplaceTile. When ending batching, all affected tiles will be connected. This is faster than not using batching.
Batching can be nested, but the EndBatchTileUpdate method must be called the same number of times as StartBatchTileUpdate.