// Update is called once per frame void LateUpdate() { var cameraGoal = lockObject.GetFocus() + offset; transform.position = Vector3.Lerp(transform.position, cameraGoal, easingFactor * Time.deltaTime); }
// Update is called once per frame void LateUpdate() { var cameraGoal = lockObject.GetFocus() + offset; transform.position = Vector3.Lerp(transform.position, cameraGoal, easingFactor * Time.deltaTime); }