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