Ejemplo n.º 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));
            }
Ejemplo n.º 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));
        }