swuffy
swuffy
CC#
Created by swuffy on 7/21/2024 in #help
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
1 replies