IndexOf<T, U>(ref FixedList32Bytes<T>, U)
Finds the index of the first occurrence of a particular value in this list.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
IndexOf<T, U>(FixedList32Bytes<T>, T)
public static int IndexOf<T, U>(this ref FixedList32Bytes<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. |