docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method GetFeatureWithIdForBuildTarget

    GetFeatureWithIdForBuildTarget(BuildTargetGroup, string)

    Given a feature id, returns the first OpenXRFeature associated with that id.

    Declaration
    public static OpenXRFeature GetFeatureWithIdForBuildTarget(BuildTargetGroup buildTargetGroup, string featureId)
    Parameters
    Type Name Description
    BuildTargetGroup buildTargetGroup

    The build target group to get the feature from.

    string featureId

    The unique id identifying the feature

    Returns
    Type Description
    OpenXRFeature

    The instance of the feature matching thd id, or null.

    In This Article
    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, November 1, 2023