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