It is necessary when clicking on the "Main button" button, to change the Active of the "Home button" button (that is, to display and hide it). "Home button" - not nested in "Main button".
Since Unity has recently started learning, I can’t figure out how to turn to the "Home button" button, please help.