Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

hide button unity

GameObject button;

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

void ButtonClicked() {
    button.SetActive(false);   
}
Comment

hide button unity


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

Comment

PREVIOUS NEXT
Code Example
Csharp :: c sharp thread lambda 
Csharp :: how to start a webpage from a button c# 
Csharp :: unity call function on animation onstateexit 
Csharp :: c# get list of all class fields 
Csharp :: how to create a random vector2 in unity 
Csharp :: what is the meaning of ?? in c# 
Csharp :: operator -- c# 
Csharp :: find character from string c# count 
Csharp :: debug.log 
Csharp :: database update dotnet 
Csharp :: dotnet new api 
Csharp :: update multiple records with entity framework 
Csharp :: roman 
Csharp :: event trigger by code unity 
Csharp :: c# list declaration 
Csharp :: how to open onscreen keyboard c# 
Csharp :: c# if statement 
Csharp :: how use unity interfaces 
Csharp :: show snackbar without scaffold flutter 
Csharp :: asp.net model 
Csharp :: find how many digits a number has csharp 
Csharp :: unity 2d 
Csharp :: c# find value in datagridview 
Csharp :: c# round number up 
Csharp :: c# even or odd 
Csharp :: is number c# 
Csharp :: unity reference textmeshpro 
Csharp :: entity framework insert 
Csharp :: how to make player movement in unity 2d 
Csharp :: how to type to console in unity 
ADD CONTENT
Topic
Content
Source link
Name
3+1 =