UNITY HOW TO CALL A FUNCTION EVERY 3 OR 4 SECONDS code example
Example: unity call a function every x seconds
float x = seconds before the first invoke;
float y = seconds between every invoke;
InvokeRepeating("Function", x, y);
float x = seconds before the first invoke;
float y = seconds between every invoke;
InvokeRepeating("Function", x, y);