//press that button, black color. //in this case, this button only works when the chosen foot is black. //it must not work when the current foot is white. public void ButtonPressBlack() { if (chosenfoot.name == "White Button" && started && !failed) { chosenfoot = chosenfoot.SwitchChosen(); UponPress(); } }