UWPCapabilityUtility.RequireCapability Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 void RequireCapability(UnityEditor::PlayerSettings::WSACapability capability, Type ^ dependentComponent);
public static void RequireCapability (UnityEditor.PlayerSettings.WSACapability capability, Type dependentComponent);
static member RequireCapability : UnityEditor.PlayerSettings.WSACapability * Type -> unit
Public Shared Sub RequireCapability (capability As PlayerSettings.WSACapability, dependentComponent As Type)
Parameters
- capability
- UnityEditor.PlayerSettings.WSACapability
Desired capability needed
- dependentComponent
- Type
Component type that requires the associated capability to perform operations