Constructor ProviderSelectionOptionsAttribute
ProviderSelectionOptionsAttribute(int, RuntimePlatform[], bool)
Initializes a new instance of ProviderSelectionOptionsAttribute
Declaration
public ProviderSelectionOptionsAttribute(int priority = 0, RuntimePlatform[] excludedPlatforms = null, bool disallowAutoCreation = false)
Parameters
| Type | Name | Description |
|---|---|---|
| int | priority | The priority level of this provider, used for sorting alongside other implementors of the same functionality type |
| RuntimePlatform[] | excludedPlatforms | Platforms on which this provider should be excluded |
| bool | disallowAutoCreation | If true, the system will not automatically create an instance of this provider. The provider can still be automatically setup as part of a prefab instance. |