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