Unité de fonction retardée
void start()
{
Invoke("YourFun", 3F);//The function is called after 3 seconds
}
void YourFun()
{
Debug.log("3 seconds later");
}
Ultratiger
void start()
{
Invoke("YourFun", 3F);//The function is called after 3 seconds
}
void YourFun()
{
Debug.log("3 seconds later");
}