void DeactivateButton() { activeButton.onRelease(); //update button state activeButton = null; //stop pointing at this button }
void DeactivateButton() { active_button.onRelease(); active_button = null; }