|
Init(args)
Scripting Reference
|
Extensions methods for initializing GameObject<TComponent> objects.
Static Public Member Functions | |
| static TComponent | Init< TComponent > (this GameObject< TComponent > @this) |
| Initializes the added component without any arguments. | |
| static TComponent | Init< TComponent, TArgument > (this GameObject< TComponent > @this, TArgument argument) |
| Initializes the added component with one argument. | |
| static TComponent | Init< TComponent, TFirstArgument, TSecondArgument > (this GameObject< TComponent > @this, TFirstArgument firstArgument, TSecondArgument secondArgument) |
| Initializes the added component with two arguments. | |
| static TComponent | Init< TComponent, TFirstArgument, TSecondArgument, TThirdArgument > (this GameObject< TComponent > @this, TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument) |
| Initializes the added component with three arguments. | |
| static TComponent | Init< TComponent, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument > (this GameObject< TComponent > @this, TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, TFourthArgument fourthArgument) |
| Initializes the added component with four arguments. | |
| static TComponent | Init< TComponent, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument > (this GameObject< TComponent > @this, TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, TFourthArgument fourthArgument, TFifthArgument fifthArgument) |
| Initializes the added component with five arguments. | |
| static TComponent | Init< TComponent, TFirstArgument, TSecondArgument, TThirdArgument, TFourthArgument, TFifthArgument, TSixthArgument > (this GameObject< TComponent > @this, TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument, TFourthArgument fourthArgument, TFifthArgument fifthArgument, TSixthArgument sixthArgument) |
| Initializes the added component with six arguments. | |
| static TComponent | Init< TComponent > (this GameObject< TComponent > @this, [DisallowNull] Action< TComponent > init) |
| Initializes the added component using a delegate. | |