Function LevelGridNode.SetConnectionValue

SetConnectionValue (int dir, int value)

Set which layer a grid connection goes to.

Public
void SetConnectionValue (

int

dir

Direction for the connection.

int

value

The layer of the connected node or NoConnection if there should be no connection in that direction.

)

Set which layer a grid connection goes to.

Warning

Using this method can make the graph data inconsistent. It's recommended to use other ways to update the graph, instead.