IndexOf<T, U>(ref FixedList128Bytes<T>, U)
Finds the index of the first occurrence of a particular value in this list.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
IndexOf<T, U>(FixedList128Bytes<T>, T)
public static int IndexOf<T, U>(this ref FixedList128Bytes<T> container, U value) where T : unmanaged, IEquatable<U>
Parameters
Returns
Type | Description |
|---|---|
| int | The index of the first occurrence of the value. Returns -1 if no occurrence is found. |