C# Class Microsoft.MixedReality.Toolkit.Utilities.Editor.UWPCapabilityUtility

Utility to check and configure UWP capability request from MRTK systems
ファイルを表示 Open project: tooploox/holo

Public Methods

Method Description
RequireCapability ( PlayerSettings.WSACapability capability, Type dependentComponent ) : void

Given capability is required by the given component. Check if capability is enabled, if not auto-enable if possible and log to console

Method Details

RequireCapability() public static method

Given capability is required by the given component. Check if capability is enabled, if not auto-enable if possible and log to console
public static RequireCapability ( PlayerSettings.WSACapability capability, Type dependentComponent ) : void
capability PlayerSettings.WSACapability Desired capability needed
dependentComponent Type Component type that requires the associated capability to perform operations
return void