docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Get Children Count

    Return the total amount of child in the parent GameObject.

    Note: Only the first level of children will be in the count.

    Ports

    Inputs

    Port Name Type Default Value Description
    [GameObject] The GameObject used to get the amount of children.

    Outputs

    Port Name Type Default Value Description
    [Integer] Return the total number of children directly contained in the GameObject.
    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)