docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method MergeChildren

    MergeChildren(GameObject)

    Merge children (recursively) of given GameObject. If given GameObject has no mesh or renderer, this method will create it with the merged content inside.

    Declaration
    public static void MergeChildren(this GameObject gameObject)
    Parameters
    Type Name Description
    GameObject gameObject

    The gameobject on wich all children will be merged

    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)