my script does not work and i have copied the script from the website (unity) and my script editor says that(look below)

: Error CS0101: The namespace ‘’ already contains a definition for ‘PlayerController’ (CS0101) (Assembly-CSharp)
how can i fix this?

1 Answer

1

By deleting one of your duplicate PlayerController scripts.

debugged it, it worked but the fished script doesn't load onto unity.

Comes up with: the associated script can not be loaded. please fix any compile errors and assign a valid script. Also how do I assign a valid script