Version: 2019.1

UnsafeUtility.Malloc(ulong,int,Allocator)

Switch to Manual

Parameters

sizeSize.
alignmentAlignment.
allocatorAllocator.

Returns

void Memory pointer.

Description

Allocate memory.