Documentation

Unity Engine


Unity Engine


Contains(T)

Check if the list contains a specific element
Read time 1 minuteLast updated 2 days ago

Definition

  • Type: Method
  • Namespace: Unity.Entities
  • Assembly: UnityEngine.EntitiesModule
public bool Contains(T item)

Parameters

item

T
The itme to search for

Returns

Type

Description

boolTrue if the element is found in the list, or false if not.