| Init< TComponent > |
| Init< TComponent > |
| Init< TComponent, TArgument > |
| Init< TComponent, TFirstArgument, TSecondArgument > |
| Init< TComponent, TFirstArgument, TSecondArgument, TThirdArgument > |
| Init< TComponent, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument > |
| Init< TComponent, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument > |
| Init< TComponent, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument, TSixthArgument > |
|
◆ Init< TComponent, TFirstArgument, TSecondArgument >()
| static TComponent Sisus.Init.GameObjectT1Extensions.Init< TComponent, TFirstArgument, TSecondArgument > |
( |
this GameObject< TComponent > @ | this, |
|
|
TFirstArgument | firstArgument, |
|
|
TSecondArgument | secondArgument ) |
|
static |
Initializes the added component with two arguments.
- Template Parameters
-
| TComponent | Type of the added component. |
| TFirstArgument | Type of the first argument. |
| TSecondArgument | Type of the second argument. |
- Parameters
-
| this | new GameObject being initialized. |
| firstArgument | The first argument passed to the added component's Init function. |
| secondArgument | The second argument passed to the added component's Init function. |
- Returns
- The initialized component.
- Exceptions
-
- Type Constraints
-
| TComponent | : | Component | |
| TComponent | : | IArgs | |
| TComponent | : | TFirstArgument | |
| TComponent | : | TSecondArgument | |
|