mercredi 21 août 2019

How to Write a not equal to in unity c#

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