Class SupportedUtils
Utility class for working with the Supported enum.
Inherited Members
Namespace: UnityEngine.XR.ARSubsystems
Assembly: Unity.XR.ARSubsystems.dll
Syntax
public static class SupportedUtils
Methods
FromBool(bool)
Create a Supported
instance from a bool
, assuming that the support status is known.
Declaration
public static Supported FromBool(bool isSupported)
Parameters
Type | Name | Description |
---|---|---|
bool | isSupported | Indicates whether a capability is supported. |
Returns
Type | Description |
---|---|
Supported |
|