UnityEngine.TrackedReference.operator C# (CSharp) Method

operator() public static method

public static operator ( ) : bool
return bool
        public static bool operator ==(TrackedReference x, TrackedReference y)
        {
            object obj2 = x;
            object obj3 = y;
            if ((obj3 == null) && (obj2 == null))
            {
                return true;
            }
            if (obj3 == null)
            {
                return (x.m_Ptr == IntPtr.Zero);
            }
            if (obj2 == null)
            {
                return (y.m_Ptr == IntPtr.Zero);
            }
            return (x.m_Ptr == y.m_Ptr);
        }