Class EntityWithComponentsAttribute
Inheritance
System.Object
System.Attribute
EntityWithComponentsAttribute
Namespace: Unity.Tiny
Syntax
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
public class EntityWithComponentsAttribute : Attribute, _Attribute
Constructors
EntityWithComponentsAttribute(Type[])
Declaration
public EntityWithComponentsAttribute(params Type[] types)
Parameters
Type | Name | Description |
---|---|---|
System.Type[] | types |
Properties
Types
Declaration
public Type[] Types { get; }
Property Value
Type | Description |
---|---|
System.Type[] |