public static void Update() { //every 60sec if (Time.time > _lastFPS + 60f) { _finalReport.AddFPS(HUDFPS.FPS()); _lastFPS = Time.time; } }
/// <summary> /// To be called when game is loaded /// </summary> public static void AddFPS() { _finalReport.AddFPS(HUDFPS.FPS()); }