기술 자료

Unity Engine

Unity Engine

ArraysEqual<T>(NativeArray<T>, NativeArray<T>)

Returns true if this array and another have equal length and content.
읽는 시간 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

boolTrue if the arrays have equal length and content.