![]() |
Init(args)
Scripting Reference
|
Builder for creating a new GameObject with three components.
The third component still needs to be initialized by calling the GameObjectT3Extensions.Init3<TFirstComponent, TSecondComponent, TThirdComponent, TArgument> function with arguments matching the argument lists defined by the IArgs interface that TThirdComponent implements.
If TThirdComponent does not implement any IArgs interface then the parameterless Init3 function should be used to initialize the component in question.
TFirstComponent | Type of the first added component; already initialized. |
TSecondComponent | Type of the second added component; already initialized. |
TThirdComponent | Type of the third added component; not yet initialized. |
Static Public Member Functions | |
static implicit | operator TFirstComponent (GameObjectWithInit2Of3Done< TFirstComponent, TSecondComponent, TThirdComponent > @this) |
Finalizes the GameObject creation and returns the first added component. | |
static implicit | operator TSecondComponent (GameObjectWithInit2Of3Done< TFirstComponent, TSecondComponent, TThirdComponent > @this) |
Finalizes the GameObject creation and returns the second added component. | |
static implicit | operator TThirdComponent (GameObjectWithInit2Of3Done< TFirstComponent, TSecondComponent, TThirdComponent > @this) |
Finalizes the GameObject creation and returns the third added component. | |
static implicit | operator (TFirstComponent, TSecondComponent, TThirdComponent)(GameObjectWithInit2Of3Done< TFirstComponent |
Finalizes the GameObject creation and returns both added components. | |