docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Variants

    Import variants

    Material variants

    If you select the Import variants option, variants of VRED materials are imported. Otherwise, the default assigned materials are imported. If you have selected the Import variants option, then you can select the material variants by script in the Variants Manager component on the root of the imported model.

    To access material switches, use scripting through the Material Switch List option in the VariantsManager component.

    Transform variants

    If you select the Import variants option, VRED transform variants are imported. Otherwise, the default selected variants are imported. If you have selected the Import variants option, then a model at a scale of 150% is displayed in the Unity Editor.

    Important

    At runtime, the Variants Manager component handles the display of only one transform variant at a time.

    To access transform switches and select them, use scripting through the Material Switch List option in the VariantsManager component.

    Additional resources

    • Variants Manager
    • Variant sets
    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)