I need to increment my int every time the player enters a zone with a certain tag.
But my script doesn’t allow the number to grow larger than 1 for some reason.
I think its just something simple i overlooked, But here’s my code:
void OnTriggerEnter(Collider other) {
if (other.tag == "score tag") {
points =+ 1;
Destroy(other.gameObject);
scoreText.text = ""+points;
}