Editar

Compartir a través de


UWPCapabilityUtility.RequireCapability Method

Definition

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

Applies to