Photon Fusion
2.0.9
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. More... | |
Static Public Attributes | |
| static readonly NetworkObjectSortKeyComparer | Instance = new NetworkObjectSortKeyComparer() |
| An instance of the NetworkObjectSortKeyComparer class. More... | |
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. |
|
static |
An instance of the NetworkObjectSortKeyComparer class.