Node =>Connected Branches
Return the node connected branches keys list.
public static List<int> Node_Get_Connected_Branches(Node node)
Example:
// Get the first node of the branch with key 0 var node = SPData.BranchesDict[0].Nodes[0]; var connectedBranches=SplinePlusAPI.Node_Get_Connected_Branches( node); Debug.Log("Connected branches keys :"); for(int i=0;i<connectedBranches.Count;i++){ Debug.Log(connectedBranches[i]); }