unity execute void after some time code example
Example 1: unity execute void after some time
Invoke("DoSomething", 2);//this will happen after 2 seconds
Example 2: unity 2d execute void after some time
Invoke("VoidNameHere", 2);//this will happen after 2 seconds