What's the best or most accurate way to get a FPS count? Should the frameCount and Time.time division be put in Update or LateUpdate, or does it matter?
asked May 13 '11 at 10:31 AM
Update or LateUpdate doesn't matter. The question is what do you mean by most accurate. frames per second is never a constant value, it can fluctuate even within one second.
that gives you the current FPS but that will change every frame.
You could smooth the delta, but it will be less accurate.
If you want to display the value, the best way is to accumulate the frames yourself and calculate the FPS in fix time steps.
answered May 13 '11 at 11:11 AM
Do you mean after the project has been built? If you want to just see the FPS, you can click the "Stats"-button while the program runs in the editor. It displays the FPS.
answered May 13 '11 at 11:05 AM