Quantcast
Channel: Answers for "How to compare if two gameObjects are the same?"
Browsing index pages (4 articles)
↧

Answer by s-ta-c

I'm experimenting since morning and these are results I got so far. When you compare two gameobjects directly with "==" operator, it only returns true if they are exactly same object (they must refer...

View Article


Answer by Mouton

**[Edit:]** Changed the code to match your needs + some further informations below What the OP needs is not comparing if two GameObject references point to the same GameObject but compare if the...

View Article


Answer by s.ta.c.

I'm experimenting since morning and these are results I got so far. When you compare two gameobjects directly with "==" operator, it only returns true if they are exactly same object (they must refer...

View Article

Answer by Mouton

**[Edit:]** Changed the code to match your needs + some further informations below What the OP needs is not comparing if two GameObject references point to the same GameObject but compare if the...

View Article
Browsing index pages (4 articles)


Latest Images