IndexOf(void*)
Returns the index of the first occurrence of a specific pointer in the list.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: Unity.Collections.LowLevel.Unsafe
- Assembly: UnityEngine.ManagedKernelModule
public int IndexOf(void* ptr)
Parameters
The pointer to search for in the list.
Returns
Type | Description |
|---|---|
| int | The index of the first occurrence of the pointer. Returns -1 if it is not found in the list. |