I wrote a fairly simple for loop:
When it compiles in Unity, it gives the following error: “BCE0049: Expression ‘int’ cannot be assigned to .”
If someone can tell me what I’m doing wrong, that would be very helpful. Thanks in advance.
You’re doing int++ instead of i++.
int++
i++