Hello,
I am creating a game in which I can simulate digital circuitry and I would need to update every chip at about 0.00002 seconds or 20 microseconds.
I tried to achieve that by using
InvokeRepeating("GlobalTick", 0.01f, 0.00002f);
but the code doesn’t execute nearly close to that rate. How can I achieve a simulation of a tick at ~20 microseconds?
Please help, I’m banging my head over this for over 2 days.
EDIT :
I found a solution to my problem by using a MicroTimer class found HERE
By creating a seperate class to handle time, I can now update all chips at 1 microsecond (1Mhz)!