We can change the link button states to colors for a little extra visual feedback. For example, we could make it so when you click the “link” button, all the “child” buttons become green and all the “unlink” buttons become red.
This can be done by adding “GUI.color = Color.red;” BEFORE the unlink button if statement, then adding “GUI.color = Color.white;” AFTER the if statement.
Same can be done by using green and white before and after the child button if statement.