Property AreEqual
AreEqual
Uses the most efficient mechanism for a given type to determine if two values are equal.
For types that implement IEquatable<T>, it will call the Equals() method.
For unmanaged types, it will do a bytewise memory comparison.
For other types, it will call the == operator.
Note: If you are using this in a custom generic class, please make sure your class is
decorated with GenerateSerializationForGenericParameterAttribute so that codegen can
initialize the serialization mechanisms correctly. If your class is NOT
generic, it is better to check their equality yourself.
Declaration
public static NetworkVariableSerialization<T>.EqualsDelegate AreEqual { get; }
Property Value
Type | Description |
---|---|
NetworkVariableSerialization<T>.EqualsDelegate |