Search Unity

Feedback Getting All Children of GameObjects

Discussion in 'Scripting' started by TiggyFairy, Apr 13, 2022.

  1. TiggyFairy

    TiggyFairy

    Joined:
    Dec 22, 2019
    Posts:
    506
    According to all the tutorials I've seen, the only way to get all the children of a parent object in C# is by getting their transforms, and then getting the gameobjects off the transform? As far as the tutorials seem to be aware, this is the only method.
     
    Last edited: Apr 13, 2022