This class is used to compare two NetworkObject instances based on their SortKey. It implements the IComparer interface. More...
Inherits IComparer< NetworkObject >.
Public Member Functions | |
int | Compare (NetworkObject x, NetworkObject y) |
Compares two NetworkObject instances based on their SortKey. | |
Static Public Attributes | |
static readonly NetworkObjectSortKeyComparer | Instance = new NetworkObjectSortKeyComparer() |
An instance of the NetworkObjectSortKeyComparer class. | |
This class is used to compare two NetworkObject instances based on their SortKey. It implements the IComparer interface.
int Compare | ( | NetworkObject | x, |
NetworkObject | y | ||
) |
Compares two NetworkObject instances based on their SortKey.
x | The first NetworkObject to compare. |
y | The second NetworkObject to compare. |