Answers for "hide objects in unity"

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

Code answers related to "hide objects in unity"

C# Answers by Framework

Browse Popular Code Answers by Language