Class UWPCapabilityUtility
Utility to check and configure UWP capability request from MRTK systems
Inherited Members
Namespace: Microsoft.MixedReality.Toolkit.Utilities.Editor
Assembly: cs.temp.dll.dll
Syntax
public class UWPCapabilityUtility
Methods
RequireCapability(PlayerSettings.WSACapability, Type)
Given capability is required by the given component. Check if capability is enabled, if not auto-enable if possible and log to console
Declaration
public static void RequireCapability(PlayerSettings.WSACapability capability, Type dependentComponent)
Parameters
Type | Name | Description |
---|---|---|
PlayerSettings.WSACapability | capability | Desired capability needed |
Type | dependentComponent | Component type that requires the associated capability to perform operations |