CantAddOnEntityAttribute
Namespace: MonineEngine.Core
If on a Component, tells Monine that this Component can't be added to any Entities. Does not affect the class itself. This is used for "base components" that are meant to only have derivatives be added to Entities. This class cannot be inherited.
public sealed class CantAddOnEntityAttribute : System.Attribute
Inheritance Object → Attribute → CantAddOnEntityAttribute
Attributes AttributeUsageAttribute
Remarks:
This attribute currently does not work. To achieve the same effect, define your Component as abstract.
Properties
TypeId
public object TypeId { get; }
Property Value
Constructors
CantAddOnEntityAttribute()
public CantAddOnEntityAttribute()