예제 #1
0
        public override bool Equals(object obj)
        {
            if (!(obj is UDim2 other))
            {
                return(false);
            }

            if (!X.Equals(other.X))
            {
                return(false);
            }

            if (!Y.Equals(other.Y))
            {
                return(false);
            }

            return(true);
        }