UnityEditor.CurveSelection.CompareTo C# (CSharp) Method

CompareTo() public method

public CompareTo ( object _other ) : int
_other object
return int
        public int CompareTo(object _other)
        {
            CurveSelection selection = (CurveSelection) _other;
            int num = this.curveID - selection.curveID;
            if (num != 0)
            {
                return num;
            }
            num = this.key - selection.key;
            if (num != 0)
            {
                return num;
            }
            return (int) (this.type - selection.type);
        }