Function GridNode.SetAllConnectionInternal

SetAllConnectionInternal (int connections)

Sets the state of all grid connections.

Public
void SetAllConnectionInternal (

int

connections

a bitmask of the connections (bit 0 is the first connection, bit 1 the second connection, etc.).

)

Sets the state of all grid connections.

Warning

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