Version: 2018.1

UnsafeUtility.Malloc(ulong,int,Allocator)

Switch to Manual

Parameters

sizeSize.
alignmentAlignment.
allocatorAllocator.

Returns

void Memory pointer.

Description

Allocate memory.