public void Update() { fpsCounter.Update(Time.deltaTime); fpsText.text = "Fps: " + fpsCounter.GetAverageFps(1f).ToString("###"); }