So i’m following a tutorial on youtube for making a car game and the tutorial is in javascript but I know C# so i’m converting it to C# as I go. There’s a line of code I can’t figure out how to convert to work in C#, the following line is:
it provides me with an error “Assets/Scripts/CarControlScript.cs(45,17): error CS0131: The left-hand side of an assignment must be a variable, a property or an indexer”
I can’t quite figure out how it should be laid on for C#, I know i’m being really dumb about this.