Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CompareTo

Returns a number denoting whether this list should be placed before or after another list in a sort.
Read time 2 minutesLast updated 10 days ago

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule

CompareTo(FixedList32Bytes<T>)

Returns a number denoting whether this list should be placed before or after another list in a sort.
public int CompareTo(FixedList32Bytes<T> other)

Parameters

A list to to compare with.

Returns

Type

Description

intAn integer denoting the respective sort position of the list relative to the other:

CompareTo(FixedList64Bytes<T>)

Returns a number denoting whether this list should be placed before or after another list in a sort.
public int CompareTo(FixedList64Bytes<T> other)

Parameters

A list to to compare with.

Returns

Type

Description

intAn integer denoting the respective sort position of the list relative to the other:

CompareTo(FixedList128Bytes<T>)

Returns a number denoting whether this list should be placed before or after another list in a sort.
public int CompareTo(FixedList128Bytes<T> other)

Parameters

A list to to compare with.

Returns

Type

Description

intAn integer denoting the respective sort position of the list relative to the other:

CompareTo(FixedList512Bytes<T>)

Returns a number denoting whether this list should be placed before or after another list in a sort.
public int CompareTo(FixedList512Bytes<T> other)

Parameters

A list to to compare with.

Returns

Type

Description

intAn integer denoting the respective sort position of the list relative to the other:

CompareTo(FixedList4096Bytes<T>)

Returns a number denoting whether this list should be placed before or after another list in a sort.
public int CompareTo(FixedList4096Bytes<T> other)

Parameters

A list to to compare with.

Returns

Type

Description

intAn integer denoting the respective sort position of the list relative to the other: