BooBearGoose
BooBearGoose
CC#
Created by BooBearGoose on 6/19/2024 in #help
✅ I might be stupid, but my score system adds two every time a collision happens instead of one.
I can't figure out why. Then again, I don't know what I'm doing. I'm following a tutorial and this is the code he used, only his worked.
public void addScore()
{
playerScore = playerScore + 1;
scoreText.text = playerScore.ToString();
}
}
public void addScore()
{
playerScore = playerScore + 1;
scoreText.text = playerScore.ToString();
}
}
23 replies