Answers for "delay seconds in unity"

C#
0

delay seconds in unity

void start()
{
  Invoke("DoSomething", 2);//this will happen after 2 seconds
}
void DoSomething()
{
	Debug.Log("2 seconds has passed!");
}
Posted by: Guest on January-10-2022

C# Answers by Framework

Browse Popular Code Answers by Language