docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method Unique

    Unique(Type, Type)

    This rule will add one variant for parents, and another variant for children, by default. Note: It is not recommended to serialize child entities as it is relatively slow to serialize them!

    Declaration
    public static DefaultVariantSystemBase.Rule Unique(Type variantForParents, Type variantForChildren)
    Parameters
    Type Name Description
    Type variantForParents
    Type variantForChildren
    Returns
    Type Description
    DefaultVariantSystemBase.Rule
    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)