mercredi 28 octobre 2020

What am I comparing when comparing 2 gameObjects?

In unity when I compare 2 gameObjects in a if statement. example: if(this.gameObject == pointerToThis.gameObject) what is it comparing and how does it know other GameObjects which are almost the same but, not the same are not the same objects?

Aucun commentaire:

Enregistrer un commentaire