C#C
C#2y ago
eulerfan40

Syntax Error in for loop.

Guys, I have no idea why I'm getting these syntax errors from this code. I know I probably look like an idiot and this is something really simple but I just can't see what wrong with it XD
for (int i = 0; i < playerLives; i++;) { Instantiate(heart, heartContainer, false); }
Errors: (26,45): error CS1026: ) expected
(26,46): error CS1513: } expected
Was this page helpful?