示例#1
0
            public int CompareTo(GOFilterEntry other)
            {
                if (m_Specificity > other.m_Specificity)
                {
                    return(-1);
                }
                if (m_Specificity < other.m_Specificity)
                {
                    return(1);
                }

                return(Id.CompareTo(other.Id));
            }
示例#2
0
        public int CompareTo(SceneBinding other)
        {
            int buildIdxComp = BuildIndex - other.BuildIndex;

            if (buildIdxComp < 0)
            {
                return(-1);
            }
            if (buildIdxComp > 0)
            {
                return(1);
            }

            return(Id.CompareTo(other.Id));
        }