Temp
Use a temporary allocation.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Field
- Namespace: Unity.Collections
- Assembly: UnityEngine.CoreModule
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.