SyntaxFix
Write A Post
Hire A Developer
Questions
It increases the value of the variable by the the value after +=. For example:
+=
float x = 0; x += 0.1; //x is now 0.1 x += 0.1; //x is now 0.2
It's just a shorter version of:
x = x+0.1;