ComponentAttribute.md

March 19, 2022 · View on GitHub

DefaultEcs

DefaultEcs.System

ComponentAttribute Class

Represents the base attribute to declare how to build the inner EntitySet of AEntitySetSystem<T> when giving a World instance.
Do not use this attribute, prefer WithAttribute and WithoutAttribute instead.

public class ComponentAttribute : System.Attribute

Inheritance System.Object 🡒 System.Attribute 🡒 ComponentAttribute

Derived
WhenAddedAttribute
WhenAddedEitherAttribute
WhenChangedAttribute
WhenChangedEitherAttribute
WhenRemovedAttribute
WhenRemovedEitherAttribute
WithAttribute
WithEitherAttribute
WithoutAttribute
WithoutEitherAttribute

Constructors
ComponentAttribute(ComponentFilterType, Type[])Initialize a new instance of the ComponentAttribute type.
Properties
ComponentTypesThe types of the component.
FilterTypeWhether the component type should be included or excluded.