Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

Returns true if a particular value is present in this list.
Read time 1 minuteLast updated 10 days ago

Definition

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

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

public static bool Contains<T, U>(this ref FixedList32Bytes<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.