скрыть единство
GameObject button;
void Start() {
button = GameObject.Find("Button");
}
void ButtonClicked() {
button.SetActive(false);
}
Super Envious Emu
GameObject button;
void Start() {
button = GameObject.Find("Button");
}
void ButtonClicked() {
button.SetActive(false);
}
GameObject button;
void Start() {
button = GameObject.Find ("Button");
}