docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method RegisterDefaultVariants

    RegisterDefaultVariants(Dictionary<ComponentType, Rule>)

    Implement this method by adding to the mapping your default type->variant DefaultVariantSystemBase.Rule

    Declaration
    protected abstract void RegisterDefaultVariants(Dictionary<ComponentType, DefaultVariantSystemBase.Rule> defaultVariants)
    Parameters
    Type Name Description
    Dictionary<ComponentType, DefaultVariantSystemBase.Rule> defaultVariants
    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)