How to write a not equal to on an if statement in unity c#. I want to write
if (other.CompareTag not equal to ("Score_Trigger")){ }
I tried
if(!other.CompareTag("Score_Trigger")) {}
Aucun commentaire:
Enregistrer un commentaire