Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

set active for a seconds

void Your_name_fuction()
{

TxtPontosPistas.gameObject.SetActive(true);

StartCoroutine(Timing_toWait(4f));

}


IEnumerator Timing_toWait(float waitTime)
{
yield return new WaitForSeconds(waitTime);

TxtPontosPistas.gameObject.SetActive(false);
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: wpf load file content 
Csharp :: unity rotate vector around point 
Csharp :: shutdown system c# 
Csharp :: countdown timer c# unity 
Csharp :: unity system time 
Csharp :: how to make a quit button in unity 
Csharp :: application server types in .net 
Csharp :: How to Create Hint, PlaceHolder Text, Watermark In a TextBox vb.net 
Csharp :: c# check valid datetime 
Csharp :: using tmp unity 
Csharp :: C# data table primary key from 2 columns 
Csharp :: c# winforms textbox readonly 
Csharp :: new parameterized thread c# 
Csharp :: string format comma c# 
Csharp :: unity 3d sound 
Csharp :: binding command to event wpf 
Csharp :: C++ in C# 
Csharp :: unity set sprite transparency 
Csharp :: data table rename column c# 
Csharp :: how to take user input in string in c# 
Csharp :: unity change material 
Csharp :: unity copy list 
Csharp :: C# How to change the text colour? 
Csharp :: unity round to x decimals 
Csharp :: c# delay 
Csharp :: c# split string into characters 
Csharp :: cs entity framework 
Csharp :: c# console background color 
Csharp :: call function from another script unity 
Csharp :: how to print c# 
ADD CONTENT
Topic
Content
Source link
Name
4+5 =