Gets the specified components from the game object.
public static (T1,T2) Get<T1,T2>(this UnityEngine.GameObject go);
T1
The type of the first component.
T2
The type of the second component.
go
UnityEngine.GameObject
The game object.
System.ValueTuple
The components. Each component can be null if not contained in the game object.