Static container class of utility methods used at runtime and related to BuildingBlocks.
See the Multiplayer Building Blocks Setup Guide for more information. This class features the RunTimeUtils.GetInterfaceComponent<T> method, which you can use to query for MonoBehaviours on a GameObject that implement a particular namespace.
Static Member Functions
static T GetInterfaceComponent< T >
( this MonoBehaviour monoBehaviour )
Returns the first (order not guaranteed) instance of a MonoBehaviour implementing the interface T.
Parameters
monoBehaviour
MonoBehaviour instance, as caller, on whose GameObject the search will occur.