delay in unity

C#
Invoke("functionname", seconds);
// this is for C#void start()
StartCoroutine(Text());

IEnumerator Text()  //  <-  its a standalone method
{
	Debug.Log("Hello")
    yield return new WaitForSeconds(3)
    Debug.Log("ByeBye")
}
Source

Also in C#: