#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