API reference
RemovedAttribute<T>
The ForEachAttribute method visits only entities that lost T since its system last ran (EcsSystem.LastRunTick) and have not got it back…
public sealed class RemovedAttribute<T> : Attribute where T : struct, IComponent, ITrackChangesThe ForEachAttribute method visits only entities that lost T since its system last ran (EcsSystem.LastRunTick) and have not got it back: replication sends the removal, a cleanup releases what the component stood for. Removing a component keeps the entity's row, so the method can read the entity's other components; destroyed entities are not visited. T tracks changes (ITrackChanges) and is not a parameter (the entity no longer has it, EECS016).
Constructors
RemovedAttribute
public RemovedAttribute();Edit on GitHub
Last updated on
How is this guide?