delayed function unity

Code Example - delayed function unity

                
                        void start()
{
	Invoke("YourFun", 3F);//The function is called after 3 seconds
}

void YourFun()
{
	Debug.log("3 seconds later");
}