기술 자료

Unity Engine

Unity Engine

Contains<T>(T[], T)

Determines if the array contains the item.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule

Contains<T>(`<>[], T)

public static bool Contains<T>(T[] array, T item)

Parameters

array


item

T

Returns

Type

Description

boolTrue if item is in array, false otherwise.