docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Compress

    Compress(uint)

    Compress a sub-tree by removing occurrence containing only one Child or empty, and by removing useless instances (see removeUselessInstances)

    Declaration
    public uint Compress(uint occurrence = 0)
    Parameters
    Type Name Description
    uint occurrence

    Root occurrence for the process

    Returns
    Type Description
    uint
    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)