When i clicked one of these buttons the panels will be activated but the other button still shown on the screen and also clickable…How can i hide that button when one of these panels activated? thanks in advance.
Add an event to the button’s OnClick list in the inspector. Make it call the other button’s SetEnabled() method and leave the checkbox unticked. This will disable interactivity on the other button when the first button is clicked. Then on the other button, set the disabled color to be transparent. This will hide the button entirely when it is disabled.