private IEnumerator StartSequenceRoutine() { float rotationSpeed = 1f; float speed = 10f; float yOffset = -5f; while (_playerController.transform.position.y < _towerManager.TopFloor + yOffset) { _playerController.RotateAroundCenter(rotationSpeed * Time.deltaTime); _playerController.transform.position += Vector3.up * (speed * Time.deltaTime); yield return(new WaitForEndOfFrame()); } _towerManager.EnableGameLoop(); _playerController.StartGame(); _uiManager.StartGame(); _startSequenceRoutine = null; _cameraHeightRoutine = StartCoroutine(CameraHeightRoutine()); }