기술 자료

Unity Engine

Unity Engine

Contains<T, U>(ref FixedList512Bytes<T>, U)

Returns true if a particular value is present in this list.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: Unity.Collections
  • Assembly: UnityEngine.ManagedKernelModule

Contains<T, U>(FixedList512Bytes<T>, T)

public static bool Contains<T, U>(this ref FixedList512Bytes<T> container, U value) where T : unmanaged, IEquatable<U>

Parameters

The list to search.

value

T
The value to locate.

Returns

Type

Description

boolTrue if the value is present in this list.