Version: 2018.2

UnsafeUtility.Malloc(ulong,int,Allocator)

Switch to Manual

Parameters

sizeSize.
alignmentAlignment.
allocatorAllocator.

Returns

void Memory pointer.

Description

Allocate memory.