/// <summary> /// Compares this instance with another specified <see cref="uLink.NetworkViewID"/> object and indicates /// whether this instance precedes, follows, or appears in the same position /// in the sort order as the specified <see cref="uLink.NetworkViewID"/>. /// </summary> /// <param name="other">The other <see cref="uLink.NetworkViewID"/>.</param> /// <returns> /// A 32-bit signed integer that indicates whether this instance precedes, follows, /// or appears in the same position in the sort order as the value parameter. /// </returns> public int CompareTo(NetworkReference <TComponent> other) { return(viewID.CompareTo(other.viewID)); }
public bool Equals(NetworkReference <TComponent> other) { return(viewID == other.viewID); }