Help with errors!!!

Updated on April 18, 2017 in [A] Unity Scripting
Share on Facebook0Tweet about this on Twitter0Share on Google+0Share on Reddit0
1 on April 18, 2017

Hello.
I keep on getting errors on my DistanceScore code file.

Severity Code Description Project File Line Suppression State
Error CS0229 Ambiguity between ‘DistanceScore.player’ and ‘DistanceScore.player’ Assembly-CSharp C:\Users\admin\Documents\Unity\Test_Game\Test_Game\Assets\DistanceScore.cs 12 Active
Error CS0229 Ambiguity between ‘DistanceScore.distanceText’ and ‘DistanceScore.distanceText’ Assembly-CSharp C:\Users\admin\Documents\Unity\Test_Game\Test_Game\Assets\DistanceScore.cs 12 Active
Error CS0111 Type ‘DistanceScore’ already defines a member called ‘Update’ with the same parameter types Assembly-CSharp C:\Users\admin\Documents\Unity\Test_Game\Test_Game\Assets\DistanceScore.cs 10 Active
Error CS0101 The namespace ” already contains a definition for ‘DistanceScore’ Assembly-CSharp C:\Users\admin\Documents\Unity\Test_Game\Test_Game\Assets\DistanceScore.cs 4 Active

Could somebody help me with this?
Thanks, Hayden

  • Liked by
Reply
0 on April 18, 2017

Ok. I think I have solved this now. I’ll respond If I encounter any more problems

  • Liked by
Reply
Cancel