Unity llama a una función cada x segundos
float x = seconds before the first invoke;
float y = seconds between every invoke;
InvokeRepeating("Function", x, y);
SuperGabry64