Version: 2021.3
言語: 日本語

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

マニュアルに切り替える

パラメーター

ptr The pointer to beginning of array of struct to reference.
index Index of element in array.

戻り値

void A reference to a value of type T.

説明

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