Summary
Gets the sixteen specified components.
Syntax
public static (TComponent1, TComponent2, TComponent3, TComponent4, TComponent5, TComponent6, TComponent7, TComponent8, TComponent9, TComponent10, TComponent11, TComponent12, TComponent13, TComponent14, TComponent15, TComponent16) Get<TComponent1, TComponent2, TComponent3, TComponent4, TComponent5, TComponent6, TComponent7, TComponent8, TComponent9, TComponent10, TComponent11, TComponent12, TComponent13, TComponent14, TComponent15, TComponent16>(this Entity entity)
where TComponent1 : EntityComponent where TComponent2 : EntityComponent where TComponent3 : EntityComponent where TComponent4 : EntityComponent where TComponent5 : EntityComponent where TComponent6 : EntityComponent where TComponent7 : EntityComponent where TComponent8 : EntityComponent where TComponent9 : EntityComponent where TComponent10 : EntityComponent where TComponent11 : EntityComponent where TComponent12 : EntityComponent where TComponent13 : EntityComponent where TComponent14 : EntityComponent where TComponent15 : EntityComponent where TComponent16 : EntityComponent
Type Parameters
Name |
Description |
TComponent1 |
The type of the first component the method returns. |
TComponent2 |
The type of the second component the method returns. |
TComponent3 |
The type of the third component the method returns. |
TComponent4 |
The type of the fourth component the method returns. |
TComponent5 |
The type of the fifth component the method returns. |
TComponent6 |
The type of the sixth component the method returns. |
TComponent7 |
The type of the seventh component the method returns. |
TComponent8 |
The type of the eighth component the method returns. |
TComponent9 |
The type of the ninth component the method returns. |
TComponent10 |
The type of the tenth component the method returns. |
TComponent11 |
The type of the eleventh component the method returns. |
TComponent12 |
The type of the twelfth component the method returns. |
TComponent13 |
The type of the thirteenth component the method returns. |
TComponent14 |
The type of the fourteenth component the method returns. |
TComponent15 |
The type of the fifteenth component the method returns. |
TComponent16 |
The type of the sixteenth component the method returns. |
Parameters
Name |
Type |
Description |
entity |
Entity |
The Entity to get the components from. |
Return Value
Type |
Description |
(TComponent1, TComponent2, TComponent3, TComponent4, TComponent5, TComponent6, TComponent7, TComponent8, TComponent9, TComponent10, TComponent11, TComponent12, TComponent13, TComponent14, TComponent15, TComponent16) |
The tuple of the sixteen components or null if component does not exist. |