Function GridNode.SetConnectionInternal

SetConnectionInternal (int dir, bool value)

Enables or disables a connection in a specified direction on the graph.

Public
void SetConnectionInternal (

int

dir

bool

value

)

Enables or disables a connection in a specified direction on the graph.

Warning

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