UnsafeUtility.CopyStructureToPtr

Declaration

public static void CopyStructureToPtr(ref T input, void* ptr);

Parameters

ptr The memory pointer to copy from.
input A struct to copy data to.

Description

Copies sizeof(T) bytes from a memory pointer to a struct.


Did you find this page useful? Please give it a rating: