docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method selectVariant

    selectVariant(object)

    Set the variant as the active variant

    Declaration
    public abstract bool selectVariant(object variant)
    Parameters
    Type Name Description
    object variant

    The variant that should be active

    Returns
    Type Description
    bool

    Returns True if the variant was correctly set as the active variant

    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)