error CS0246: The type or namespace name `PlayerMovement' could not be found. Are you missing an assembly reference?

I’m using photon networking and I’m trying to use this script in my scene, but I get this error. I’ve tried looking all over the web and I can’t find anything about it. I think it is because the new unity version changed its movement.

@zachy247
Hey.Here’s what you can do to fix this.The reason of this error is just that you don’t have a class (or) a file named ‘PlayerMovement’ in your PC.You should either create such file or a class in the script.
An other way you can get rid of this is by:
Instead of typing …public PlayerMovement name;

Type as…public name;

Now you should see it accesses the script as an attachment.
Hope if fixed your issue.,@zachy247 Hey.The reason why it is showing an error because,there is no such kind of class (or) file in your PC.
Here’s how you can fix it.

Instead of typing …public PlayerMovement name;

                    Type as...... public <The name of script which you have it in the project> name;

Hope I fixed the issue.