Init(args)
Scripting Reference
Loading...
Searching...
No Matches

◆ Init1< TFirstComponent, TSecondComponent >() [1/3]

static UninitializedGameObject< TFirstComponent, TSecondComponent > Sisus.Init.GameObjectT2Extensions.Init1< TFirstComponent, TSecondComponent > ( this GameObject< TFirstComponent, TSecondComponent > @ this)
static

Initialize the first added component of type TFirstComponent without any arguments.

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