Operator operator ==
operator ==(UnityObjectRef<T>, UnityObjectRef<T>)
Returns true if two UnityObjectRef<T> are equal.
Declaration
public static bool operator ==(UnityObjectRef<T> left, UnityObjectRef<T> right)
Parameters
Type | Name | Description |
---|---|---|
UnityObjectRef<T> | left | The first reference to compare for equality. |
UnityObjectRef<T> | right | The second reference to compare for equality. |
Returns
Type | Description |
---|---|
bool | True if the two references are equal. |