how to hide button in script unity code example
Example: hide button unity
GameObject button;
void Start() {
button = GameObject.Find("Button");
}
void ButtonClicked() {
button.SetActive(false);
}
GameObject button;
void Start() {
button = GameObject.Find("Button");
}
void ButtonClicked() {
button.SetActive(false);
}