Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Score.cs keeps giving me errors

Hey, every time i try tp start my game, i have copied the lines of code in score.cs completely, even downloaded it from devassets, and it keeps giving me these 2 errors:

Assets\Scripts\Score.cs(4,14): error CS0101: The namespace '<global namespace>' already contains a definition for 'Score'

Assets\Scripts\Score.cs(10,7): error CS0111: Type 'Score' already defines a member called 'Update' with the same parameter types

Could someone assist me with how to fix this?

Answers

  • You have two or more scripts in your project called score.

  • Just go through the tutorial video again you will find out

  • Assets\Scripts\Score.cs(10,7): error CS0111: Type 'Score' already defines a member called 'Update' with the same parameter types


    this Error is Because there is 2 or more Update methods in the script post the scipt so we could try to fix it

Sign In or Register to comment.