NativeArray<T0>.Equals
public bool Equals(NativeArray<T> other);
Parameters
| other | NativeArray to compare against. |
Returns
bool True in case the two NativeArray are the same, false otherwise.
Description 描述
Compares to NativeArray.
Two NativeArray are considered the same if they point to the same underlying memory buffer, and have the same length.
public bool Equals(object obj);
Parameters
| obj | Object to compare against. |
Returns
bool True in case the two NativeArray are the same, false otherwise.
Description 描述
Compares to NativeArray.
Two NativeArray are considered the same if they point to the same underlying memory buffer, and have the same length.