ドキュメント

Unity Engine

Unity Engine

Thread safe types

Understand thread safe types, such as NativeContainer objects.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

The job system works best when you use it with the Burst compiler. Because Burst doesn’t support managed objects, you need to use unmanaged types to access the data in jobs. You can do this with blittable types, or use Unity’s built-in
NativeContainer
objects.

Topic

Description

Introduction to NativeContainerUnderstand Unity's custom thread-safe type,
NativeContainer
.
Implement a custom NativeContainerImplement custom native containers.
Copying NativeContainer structuresCopy and reference multiple native containers.
Custom NativeContainer exampleUse a real world custom NativeContainer example.

Additional resources