Ejemplo n.º 1
0
    // Update is called once per frame
    void LateUpdate()
    {
        var cameraGoal = lockObject.GetFocus() + offset;

        transform.position = Vector3.Lerp(transform.position, cameraGoal, easingFactor * Time.deltaTime);
    }