FindIndex<T>(T[], Predicate<T>)
Find the index of the first element that satisfies the predicate.
읽는 시간 1분최근 업데이트: 25일 전
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
FindIndex<T>(`<>[], Predicate<T>)
public static int FindIndex<T>(T[] array, Predicate<T> match)
Parameters
Returns
Type | Description |
|---|---|
| int | The zero-based index of the first occurrence of the element, if found; otherwise, �1. |