Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

UnsafeUtility.AsRef<T>(void* ptr)

Parameters

ptr The pointer of struct to reference.

Returns

void A reference to a value of type T.

Description

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