Ejemplo n.º 1
0
 void CheckFps()
 {
     if (performanceMonitor.GetFps() < GameController.MinFps)
     {
         pauseMenu.SetActive(true);
         Time.timeScale = 0f;
     }
 }
Ejemplo n.º 2
0
 private void Fps()
 {
     fps.text = "" + performanceMonitor.GetFps();
 }