- Home /
 
 
               Question by 
               Ebil · Feb 05, 2015 at 10:30 AM · 
                invokeinvokerepeating  
              
 
              How many InvokeRepeating are okay?
In theory it is possible in my game to have at max. 4096 InvokeRepeating active. So is this any problem? I mean I tested it already there was no problem. I just wanted to know if it ok to use it so excessively.
 InvokeRepeating("Income",0f,1f);
     void Income()
     {
         gc.playerMoney += incomeResult;
     }
 
               The other way would be to go through the list of times with a for loop and get the tiles that generate income and get the value (each second).
               Comment
              
 
               
              Your answer