private void LateUpdate() { transform.position = Vector3.Lerp(transform.position, _player.transform.position + _cameraOffset, Time.deltaTime * 5); transform.localScale = Smooth.SmoothDamp(transform.localScale, _desiredCameraDistance, ref _sVelocity, 0.3f); transform.rotation = Smooth.SmoothDamp(transform.rotation, _desiredCameraRotation, ref _rVelocity, 0.3f); }