![]() |
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. More... | |
static TComponent | Init< TComponent, TArgument > (this GameObject< TComponent > @this, TArgument argument) |
Initializes the added component with one argument. More... | |
static TComponent | Init< TComponent, TFirstArgument, TSecondArgument > (this GameObject< TComponent > @this, TFirstArgument firstArgument, TSecondArgument secondArgument) |
Initializes the added component with two arguments. More... | |
static TComponent | Init< TComponent, TFirstArgument, TSecondArgument, TThirdArgument > (this GameObject< TComponent > @this, TFirstArgument firstArgument, TSecondArgument secondArgument, TThirdArgument thirdArgument) |
Initializes the added component with three arguments. More... | |
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. More... | |
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. More... | |