It looks like you're new here. If you want to get involved, click one of these buttons!
So, i got a scipt which updates a text every times the player enteres the trigger
public class AddScore : MonoBehaviour
float scorenum = 0;
public Text score;
if (scorenum > 0)
score.text = scorenum.ToString();
private void OnTriggerEnter(Collider other)
but when the payer enteres the first trigger(yes there a many) it updates but when it enteres the second triiger or any other trigger it doesn't update. I've tried to convert the text to a textmeshpro but it didn't work.