public bool Equals (NativeArray<T> other);

Parameters

otherNativeArray 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

objObject 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.