Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

hide button unity

GameObject button;

void Start() {
    button = GameObject.Find("Button");
}

void ButtonClicked() {
    button.SetActive(false);   
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #hide #button #unity
ADD COMMENT
Topic
Name
1+9 =