Reactive Disposal
1 min read • 115 wordsManage unmanaged memory in Unity ECS
BlobAsset
s have been updated, so the example is no longer valid. For more information about
BlobAsset
, we recommend you visit Unity’s Entities testing package and view the BlobificationTests.cs
file.
Reactive Disposal is a small utility to reduce the boiler plate of having to manually release memory. This does so by tracking the life times using Unity ECS rules of SystemState Components and checking if an entity received a new tag which marks the disposal of the unmanaged memory.