void Start() { info = GetComponent <Text>(); infoFormat = info.text; fpsCounter = new FPSCounter(); fpsCounter.setUpdatesForOneSecond(2); player = GameObject.FindWithTag("Player"); playerController = player.GetComponent <CharacterController>(); GameObject camera = GameObject.FindWithTag("MainCamera"); cameraOrbit = camera.GetComponent <PlayerCameraOrbit>(); playerStartPosition = player.transform.position; }