docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class SupportedUtils

    Utility class for working with the Supported enum.

    Inheritance
    object
    SupportedUtils
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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

    Supported if isSupported is true. Otherwise, Unsupported.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)