docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Get Parent

    Return the GameObject that is the parent of the inputted GameObject.

    Ports

    Inputs

    Port Name Type Default Value Description
    [GameObject] The GameObject we want to use to find it's parent GameObject.

    Outputs

    Port Name Type Default Value Description
    [GameObject] Return the GameObject that is the parent of the selected GameObject. Return Null if none.
    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)