DrawNode

Not quite sure how the node is selected when we press a button. We pass inn all the nodes in DrawnNode in OnGUI, but when we press a button on a node and set it to linkingparent node or child node we get the correct node. How does this work?

DrawNode only takes in one node at a time. Each button is set for each node we pass in, so the button knows which node it’s currently being drawn on.

1 Like

Great thnx!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms