ArraysEqual<T>(NativeArray<T>, NativeArray<T>)
Returns true if this array and another have equal length and content.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
public static bool ArraysEqual<T>(this NativeArray<T> container, NativeArray<T> other) where T : unmanaged, IEquatable<T>
Parameters
The array to compare for equality.
The other array to compare for equality.
Returns
Type | Description |
|---|---|
| bool | True if the arrays have equal length and content. |