기술 자료

Unity Engine

Unity Engine

TempJob

Use a temporary job allocation.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

TempJob = 3

Remarks

A slower allocation than Allocator.Temp but faster than Allocator.Persistent. Use it for thread-safe allocations within a lifespan of four frames.
Important: You must Dispose of this allocation type within four frames, or the console prints a warning, generated from the native code. Most small jobs use this allocation type.