Question by
josephleung78 · Jun 20, 2016 at 03:27 PM ·
guibuttoncalling
how to make one button disappear if i click another button unity
I am making a tutorial so when you click "about" arrows appear and then the about disappears but then u can press a back button to go back to the about button. How would I be able to do this? I am new to programming.
Comment
Answer by Thajocoth · Jun 20, 2016 at 03:59 PM
gameObject.SetActive(false);
gameObject would be whatever object you're looking to turn off, which means that the button you're clicking needs a pointer to it.