C
C#5mo ago
swuffy

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
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server