docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)