// Update is called once per frame void Update() { transform.position = movement.moveCamera(); // Drawing the trail behind the camera to see the debug line Debug.DrawLine(previous, transform.position, Color.black, debugLineDuration); previous = transform.position; }