how to make a delay in a script in unity code example
Example 1: delay in unity
Invoke("functionname", seconds);
// this is for C#
Example 2: how to delay something in c# unity
Invoke("DoSomething", 2);//this will happen after 2 seconds
Invoke("functionname", seconds);
// this is for C#
Invoke("DoSomething", 2);//this will happen after 2 seconds