EasyEcs
API reference

WithAnyAttribute<T>

The ForEachAttribute method requires at least one of the components named by its [WithAny<T>] attributes (not passed in)…

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

The ForEachAttribute method requires at least one of the components named by its [WithAny<T>] attributes (not passed in): [ForEach, WithAny<Burning>, WithAny<Poisoned>]. On a system group, every [ForEach] method of the group's systems requires one of the group's.

Constructors

WithAnyAttribute

public WithAnyAttribute();
Edit on GitHub

Last updated on

How is this guide?

On this page