How to compare 2 scores from 2 different Texts (GameObject)

Unfortunately, that doesn’t help. Those are UI Text objects, but you should have scripts. For example, post the script that contains the code you posted above. And post the script that is player1. And use code tags! Using code tags properly

1 Like