Init(args)
Scripting Reference

◆ Init2< TFirstComponent, TSecondComponent, TThirdComponent >() [1/5]

static GameObjectWithInit2Of3Done<TFirstComponent, TSecondComponent, TThirdComponent> Sisus.Init.GameObjectT3Extensions.Init2< TFirstComponent, TSecondComponent, TThirdComponent > ( this GameObjectWithInit1Of3Done< TFirstComponent, TSecondComponent, TThirdComponent > @  this)
static

Initialize the second added component of type TSecondComponent without any arguments.

Template Parameters
TFirstComponentType of the first added component.
TSecondComponentType of the second added component.
TThirdComponentType of the third added component.
Parameters
thisnew GameObject being initialized.
Returns
Partially initialized GameObject still requiring Init3 to be called until it is ready for usage.
Type Constraints
TFirstComponent :Component 
TSecondComponent :Component 
TThirdComponent :Component