| 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, TArgument >()
| static TComponent Sisus.Init.GameObjectT1Extensions.Init< TComponent, TArgument > |
( |
this GameObject< TComponent > @ | this, |
|
|
TArgument | argument ) |
|
static |
Initializes the added component with one argument.
- Template Parameters
-
| TComponent | Type of the added component. |
| TArgument | Type of the argument. |
- Parameters
-
| this | new GameObject being initialized. |
| argument | The argument passed to the added component's Init function. |
- Returns
- The initialized component.
- Exceptions
-
- Type Constraints
-
| TComponent | : | Component | |
| TComponent | : | IArgs<TArgument> | |
|