MessagerAttribute

Namespace: Bang.Systems
Assembly: Bang.dll

public class MessagerAttribute : Attribute

Marks a messager attribute for a system. This must be implemented by all the systems that inherit IMessagerSystem.

Implements: Attribute

⭐ Constructors

public MessagerAttribute(Type[] types)

Creates a new MessagerAttribute.

Parameters
types Type[]

⭐ Properties

TypeId

public virtual Object TypeId { get; }

Returns
Object

Types

public Type[] Types { get; }

System will target all the entities that has all this set of components.

Returns
Type[]