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