docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ICapabilityModifier

    Implement this interface in derived classes from CapabilityProfile to modify a capability value.

    Namespace: Unity.XR.CoreUtils.Capabilities
    Assembly: Unity.XR.CoreUtils.dll
    Syntax
    public interface ICapabilityModifier

    Methods

    TryGetCapabilityValue(string, out bool)

    Gets the capability value associated with the given key.

    Declaration
    bool TryGetCapabilityValue(string capabilityKey, out bool capabilityValue)
    Parameters
    Type Name Description
    string capabilityKey

    The capability key to get the value.

    bool capabilityValue

    Returns the capability value if the given key is found.

    Returns
    Type Description
    bool

    Returns true when the given capability key is found. Otherwise, returns false.

    See Also
    CapabilityDictionary

    See Also

    CapabilityDictionary
    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)