Answers for "how to hide button in unity c#"

C#
2

hide button unity

GameObject button;

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

void ButtonClicked() {
    button.SetActive(false);   
}
Posted by: Guest on April-06-2021
0

hide button unity

GameObject button;
void Start() {
    button = GameObject.Find ("Button");
}
Posted by: Guest on March-27-2022

Code answers related to "how to hide button in unity c#"

C# Answers by Framework

Browse Popular Code Answers by Language