Documentation

Unity Engine

Unity Engine

Temp

Use a temporary allocation.
Read time 1 minuteLast updated 2 months ago

Definition

Temp = 2

Remarks

The fastest allocation. Use it for allocations with a lifespan of one frame or fewer. You can't use Temp to pass allocations to NativeContainer instances stored in a job's member field.