UnsafeUtility.ArrayElementAsRef<T>(void* ptr, int index)

Cambiar al Manual

Parámetros

ptrThe pointer to beginning of array of struct to reference.
indexIndex of element in array.

Valor de retorno

void A reference to a value of type T.

Descripción

Gets a reference to the array element at its current location in memory.