Another namespace problem

I am following this tutorial: ,and I got an error saying:

Assets\Dashing.cs(59/95*,13): error CS1061: ‘ThirdPersonCam’ does not contain a definition for ‘DoFov’ and no accessible extension method ‘DoFov’ accepting a first argument of type ‘ThirdPersonCam’ could be found (are you missing a using directive or an assembly reference?)

What do I do?

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Dashing : MonoBehaviour
    public Transform orientation;
    public Transform playerCam;
    private Rigidbody rb;
    private PlayerMovementDashing pm;

    public float dashForce;
    public float dashUpwardForce;
    public float maxDashYSpeed;
    public float dashDuration;

    public PlayerCam cam;
    public float dashFov;

    public bool useCameraForward = true;
    public bool allowAllDirections = true;
    public bool disableGravity = false;
    public bool resetVel = true;

    public float dashCd;
    private float dashCdTimer;

    public KeyCode dashKey = KeyCode.E;

    private void Start()
        rb = GetComponent<Rigidbody>();
        pm = GetComponent<PlayerMovementDashing>();

    private void Update()
        if (Input.GetKeyDown(dashKey))

        if (dashCdTimer > 0)
            dashCdTimer -= Time.deltaTime;

    private void Dash()
        if (dashCdTimer > 0) return;
        else dashCdTimer = dashCd;

        pm.dashing = true;
        pm.maxYSpeed = maxDashYSpeed;


        Transform forwardT;

        if (useCameraForward)
            forwardT = playerCam; /// where you're looking
            forwardT = orientation; /// where you're facing (no up or down)

        Vector3 direction = GetDirection(forwardT);

        Vector3 forceToApply = direction * dashForce + orientation.up * dashUpwardForce;

        if (disableGravity)
            rb.useGravity = false;

        delayedForceToApply = forceToApply;
        Invoke(nameof(DelayedDashForce), 0.025f);

        Invoke(nameof(ResetDash), dashDuration);

    private Vector3 delayedForceToApply;
    private void DelayedDashForce()
        if (resetVel)
            rb.velocity =;

        rb.AddForce(delayedForceToApply, ForceMode.Impulse);

    private void ResetDash()
        pm.dashing = false;
        pm.maxYSpeed = 0;


        if (disableGravity)
            rb.useGravity = true;

    private Vector3 GetDirection(Transform forwardT)
        float horizontalInput = Input.GetAxisRaw("Horizontal");
        float verticalInput = Input.GetAxisRaw("Vertical");

        Vector3 direction = new Vector3();

        if (allowAllDirections)
            direction = forwardT.forward * verticalInput + forwardT.right * horizontalInput;
            direction = forwardT.forward;

        if (verticalInput == 0 && horizontalInput == 0)
            direction = forwardT.forward;

        return direction.normalized;

*this is applying both lines.

You need to have a script called PlayerCam and attach that to the dash script in the inspector. Could you please show me your playerCam Script? Because in there you need to add

using DG.Tweening;

At the top

Also: Did you get the DoTween Package from the asset store and import it in your project?

10:05 in the video