Summary
Gets the nine specified components.
Syntax
public static (TComponent1, TComponent2, TComponent3, TComponent4, TComponent5, TComponent6, TComponent7, TComponent8, TComponent9) Get<TComponent1, TComponent2, TComponent3, TComponent4, TComponent5, TComponent6, TComponent7, TComponent8, TComponent9>(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
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. |
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) |
The tuple of the nine components or null if component does not exist. |