3 ms·
For those wondering, Unity overloaded the == operator in two specific situations, such that obj == null will return true even though obj is not actually null. M
by kbolino 6mo ago
For those wondering, Unity overloaded the == operator in two specific situations, such that obj == null will return true even though obj is not actually null. More details on this archived blogpost: https://web.archive.org/web/20140519040926/https://blogs.unity3d.com/2014/05/16/custom-operator-should-we-keep-it/ https://web.archive.org/web/20140519040926/https://blogs.uni...