docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Constructor UnityPlatformAttribute

    UnityPlatformAttribute()

    Constructs a new instance of the UnityPlatformAttribute class.

    Declaration
    public UnityPlatformAttribute()

    UnityPlatformAttribute(params RuntimePlatform[])

    Constructs a new instance of the UnityPlatformAttribute class with a list of platforms to include.

    Declaration
    public UnityPlatformAttribute(params RuntimePlatform[] include)
    Parameters
    Type Name Description
    RuntimePlatform[] include

    The different RuntimePlatform to run the test on.

    In This Article
    Back to top
    Copyright © 2023 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)