Suggest a change
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Close
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Close
Parameters
| Parameter |
Description |
| other |
A reference to compare with. |
Returns
bool
True if the value stored in this reference is equal to the value stored in another reference.
Description
Returns true if the value stored in this reference is equal to the value stored in another reference.
Declaration
public bool Equals(Object obj);
Parameters
| Parameter |
Description |
| obj |
An object to compare with. |
Returns
bool
True if the value stored in this reference is equal to the object.
Description
Returns true if the value stored in this reference is equal to an object.
Can only be equal if the object is itself a NativeReference.