compareTo method
Compares the priority of this registration with another.
Used by EventSystem to sort event listeners by priority.
Implementation
int compareTo(EventRegistration other) {
return other.priority.index.compareTo(priority.index);
}
Compares the priority of this registration with another.
Used by EventSystem to sort event listeners by priority.
int compareTo(EventRegistration other) {
return other.priority.index.compareTo(priority.index);
}