Version: 2019.1

UnsafeUtility.MemCpy(void*,void*,ulong)

Switch to Manual

Parameters

destinationDestination memory pointer.
sourceSource memory pointer.
sizeSize.

Description

Copy memory.

When the source and destination arrays are overlapping the result is not guaranteed to be correct and UnsafeUtility.MemMove should be used instead.