![]() |
Init(args)
Scripting Reference
|
Represents three of components that exist on the same GameObject.
Can be cast to GameObject, TFirstComponent , TSecondComponent , TThirdComponent or System.ValueTuple<TFirstComponent, TSecondComponent, TThirdComponent>.
TFirstComponent | Type of the first component. |
TSecondComponent | Type of the second component. |
TThirdComponent | Type of the second component. |
Static Public Member Functions | |
static implicit | operator GameObject (Components< TFirstComponent, TSecondComponent, TThirdComponent > @this) |
Gets the GameObject that holds the pair of components. | |
static implicit | operator Transform (Components< TFirstComponent, TSecondComponent, TThirdComponent > @this) |
Gets the Transform component of the GameObject that holds the pair of components. | |
static implicit | operator TFirstComponent (Components< TFirstComponent, TSecondComponent, TThirdComponent > @this) |
Gets the first one of the three components. | |
static implicit | operator TSecondComponent (Components< TFirstComponent, TSecondComponent, TThirdComponent > @this) |
Gets the second one of the three components. | |
static implicit | operator TThirdComponent (Components< TFirstComponent, TSecondComponent, TThirdComponent > @this) |
Gets the third one of the three components. | |
static implicit | operator (TFirstComponent, TSecondComponent, TThirdComponent)(Components< TFirstComponent |
Gets a System.ValueTuple<TFirstComponent, TSecondComponent, TThirdComponent> containing all three components. | |