do function after time unity code example Example: unity c# method after delay Invoke("DoSomething", 2);//this will happen after 2 seconds