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