Méthode | 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
|
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 |
Résultat | void |