EasyEcs
API reference

ChangedAttribute<T>

The ForEachAttribute method visits only entities whose T was written since its system last ran (EcsSystem.LastRunTick…

public sealed class ChangedAttribute<T> : Attribute where T : struct, IComponent, ITrackChanges

The ForEachAttribute method visits only entities whose T was written since its system last ran (EcsSystem.LastRunTick; on the first run, every entity having it). Requires T like WithAttribute; T tracks changes (ITrackChanges). Several attributes require all of the components to have changed.

Constructors

ChangedAttribute

public ChangedAttribute();
Edit on GitHub

Last updated on

How is this guide?

On this page