Temp
Use a temporary allocation.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Field
- Namespace: Unity.Collections
- Assembly: UnityEngine.ManagedKernelModule
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.