API reference
API reference
Select your platform
No SDKs available
No versions available

RunTimeUtils Class

Static container class of utility methods used at runtime and related to BuildingBlocks.

Static Methods

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.