GetInterfaceComponent< T >
(
monoBehaviour
)
|
Returns the first (order not guaranteed) instance of a MonoBehaviour implementing the interface T.
Signature
static T Meta.XR.BuildingBlocks.RunTimeUtils.GetInterfaceComponent< T >(this MonoBehaviour monoBehaviour) Parameters monoBehaviour: this MonoBehaviourÂ
MonoBehaviour instance, as caller, on whose GameObject the search will occur.
Returns TÂ
The first instance of T found.
|