void Update() { fpsCounter.tick(); float fps = fpsCounter.FPS; bool isGrounded = playerController.isGrounded; string playerPosition = player.transform.position.ToString(); Vector2 cameraPosition = cameraOrbit.position; float cameraDistance = cameraOrbit.distance; info.text = string.Format(infoFormat, fps, isGrounded, playerPosition, cameraPosition.x, cameraPosition.y, cameraDistance); }