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.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答