EasyEcs
API reference

Destroyed

Tag of an entity that was destroyed while holding ICleanupComponents: its other components are gone, it stays alive until its last cleanup component is removed.

public struct Destroyed : IComponent

Tag of an entity that was destroyed while holding ICleanupComponents: its other components are gone, it stays alive until its last cleanup component is removed. Select such entities with With<Destroyed> (a cleanup system) and new ones with Without<Destroyed> (an acquiring system).

Edit on GitHub

Last updated on

How is this guide?