Answers for "pause for second unity"

C#
15

Time delay C# unity

void start()
StartCoroutine(Text());

IEnumerator Text()  //  <-  its a standalone method
{
	Debug.Log("Hello")
    yield return new WaitForSeconds(3)
    Debug.Log("ByeBye")
}
Posted by: Guest on March-07-2020
7

delay in unity

Invoke("functionname", seconds);
// this is for C#
Posted by: Guest on March-21-2020

C# Answers by Framework

Browse Popular Code Answers by Language