Zum Inhalt springen
Binary Impact GmbH Logo Binary Impact GmbH Logo Binary Impact GmbH Logo
  • Home
  • Unternehmen
  • Unity Tips
  • Impressum/Datenschutz
  • ▲

Compare two GameObjects

#UnityTips A way to reliably compare two GameObjects.

Use Object.RefrenceEquals(obj1, obj2)

Like this 👇

Also you can use to check if a GameObject is null by changing second GameObject to null.#gamedev #indiedev pic.twitter.com/MvfPqSZzFq

— Binary Impact (@BinaryImpactG) November 17, 2020

Jens Wiechering2021-01-13T10:41:01+01:00
© Copyright    |  Binary Impact GmbH
YouTubeFacebookTwitterGame VerbandGame Verband
Nach oben