how to add wait function unity code example Example: delay in unity Invoke("functionname", seconds); // this is for C#