LastIndexOf<T>(T[], T)
Index of the last element with value value.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
LastIndexOf<T>(`<>[], T)
public static int LastIndexOf<T>(T[] array, T value)
Parameters
Returns
Type | Description |
|---|---|
| int | The zero-based index of the element, if found; otherwise -1. |