Symptoms
When trying to enter play mode, I am receiving the error below:
error CS0131: The left-hand side of an assignment must be a variable, a
property or an indexer
Cause
The CS0131 error is caused when the = assignment operator does not have a variable, property or indexer to the left hand side of it.
Here is how the error appears in this example:
error CS0131: The left-hand side of an assignment must be a variable, a
property or an indexer
Resolution
The error CS0131 is resolved by adding a variable, property or indexer to the left hand side of the = assignment operator.
More Information
https://msdn.microsoft.com/en-us/library/x5s08de8(v=vs.90).aspx
Comments
2 comments
what i write if the component is a C# script ?
help please with this code i can't get what should i do here (error is on 11,21)
`
Please sign in to leave a comment.