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