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.
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

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.
Others
T
Interface type expected
Returns
The first instance of T found.
static string GenerateRandomString
( int size,
bool includeLowercase,
bool includeUppercase,
bool includeNumeric,
bool includeSpecial )
Did you find this page helpful?
Thumbs up icon
Thumbs down icon