Hide gui labels when you click on a button and show them when you click again

Hi all, i have a button that opens a canvas with some text labels and 3 buttons in it, in the scene with the button that opens the canvas i have made some text labels, but when you open the canvas the text labels from the scene are standing in front of the labels of the canvas, so you can’t read the text labels in the canvas, so i came to the solution to hide the text labels in the scene when you click on the button to open the canvas, and if you click on one of the tree buttons,it will showing the text labels in the scene again. But how can i make this, i’m a beginner so i don’t have many experience. Thanks!

To hide gameobjects in the scene, use .SetActive(false) to hide objects and .SetActive(true) to show them again. is the object you intend to hide.

Hope that helps!

Alright, thanks man!