Constructor ComponentTypeSet
ComponentTypeSet(ComponentType)
Create an instance with one component type
Declaration
public ComponentTypeSet(ComponentType a)
Parameters
Type | Name | Description |
---|---|---|
Component |
a | A component type |
ComponentTypeSet(ComponentType, ComponentType)
Create an instance with two component types
Declaration
public ComponentTypeSet(ComponentType a, ComponentType b)
Parameters
Type | Name | Description |
---|---|---|
Component |
a | A component type |
Component |
b | A component type |
ComponentTypeSet(ComponentType, ComponentType, ComponentType)
Create an instance with three component types
Declaration
public ComponentTypeSet(ComponentType a, ComponentType b, ComponentType c)
Parameters
Type | Name | Description |
---|---|---|
Component |
a | A component type |
Component |
b | A component type |
Component |
c | A component type |
ComponentTypeSet(ComponentType, ComponentType, ComponentType, ComponentType)
Create an instance with five component types
Declaration
public ComponentTypeSet(ComponentType a, ComponentType b, ComponentType c, ComponentType d)
Parameters
Type | Name | Description |
---|---|---|
Component |
a | A component type |
Component |
b | A component type |
Component |
c | A component type |
Component |
d | A component type |
ComponentTypeSet(ComponentType, ComponentType, ComponentType, ComponentType, ComponentType)
Create an instance with five component types
Declaration
public ComponentTypeSet(ComponentType a, ComponentType b, ComponentType c, ComponentType d, ComponentType e)
Parameters
Type | Name | Description |
---|---|---|
Component |
a | A component type |
Component |
b | A component type |
Component |
c | A component type |
Component |
d | A component type |
Component |
e | A component type |
ComponentTypeSet(ComponentType[])
Create an instance from a list of component types
Declaration
[ExcludeFromBurstCompatTesting("Takes managed array")]
public ComponentTypeSet(ComponentType[] types)
Parameters
Type | Name | Description |
---|---|---|
Component |
types | The list of component types |
Exceptions
Type | Condition |
---|---|
Argument |
Thrown if the length of |
ComponentTypeSet(in FixedList128Bytes<ComponentType>)
Create an instance from a list of component types
Declaration
public ComponentTypeSet(in FixedList128Bytes<ComponentType> types)
Parameters
Type | Name | Description |
---|---|---|
Fixed |
types | The list of component types |
Exceptions
Type | Condition |
---|---|
Argument |
Thrown if the length of |