Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 14 Next capture
2021 2022 2023
1 capture
14 Jun 22 - 14 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges

Getcomponentsinchildren

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

thinkblue answered

How do I retrieve deep levels of nested child transforms with a generic snippet of code

Jan 15, '22 prefabs·gameobject.find·getcomponentinchildren·transform.·getcomponentsinchildren

2 Replies

0 Votes

avatar image

Szkeptik edited

Use GetComponentsInChildren but don't access grand children

May 13, '21 c#·scripting problem·editor·gameobjects·getcomponentsinchildren

2 Replies

0 Votes

avatar image

Mahunreah asked

How to find certain TextMeshProUGUI if multiple are attached?

Feb 5, '21 in Help Room

0 Replies

0 Votes

avatar image

NiliSmiles answered

GameObject.GetComponentsInChildren returns twice as much objects than i thought it would

Jul 16, '20 in Help Room

2 Replies

0 Votes

avatar image

Futurristic commented

Get all Child Transforms in Target

Apr 28, '20 in Help Room

2 Replies

1 Votes

avatar image

Freak4Fun edited

Stops working in build : disabling all colliders and rigidBodies in a character (ragdoll)

Dec 30, '18 build-error·colliders·ragdoll·getcomponentsinchildren

0 Replies

0 Votes

avatar image

Eiman_Pazolab edited

How to make a clone ignore movement input when his parent is moving? HELP!

Nov 28, '18 in Help Room

0 Replies

0 Votes

avatar image

FredTuna commented

GetComponentsInChildren contains null elements when fetching MeshRenderers

Nov 12, '18 meshrenderer·getcomponentsinchildren

1 Reply

0 Votes

avatar image

Cooperall asked

Instantiate duplicate of inactive child in GameObject

Oct 5, '18 in Help Room

0 Replies

0 Votes

avatar image

gg-ez commented

RaycasthitAll specific object and its children

May 21, '18 raycast·object·raycasthit·raycastall·getcomponentsinchildren

0 Replies

0 Votes

avatar image

Nomenokes commented

Storage of children references efficiency

Dec 16, '17 efficiency·storage·references·getcomponentsinchildren

1 Reply

1 Votes

avatar image

Hellium edited

How to NOT get components from grandchildren ?

Nov 21, '17 getcomponentsinchildren

1 Reply

0 Votes

avatar image

nettomb published

How to access a child input field from a parent prefab script.

Mar 26, '17 prefab·reference·inputfield·getcomponentsinchildren

0 Replies

1 Votes

avatar image

Yutang13 commented

Having trouble with getcomponentsinchildren.

Sep 27, '16 material color·getcomponentsinchildren

1 Reply

0 Votes

avatar image

Borzi commented

Get instances of a script in children

Feb 24, '16 in Help Room

1 Reply

0 Votes

avatar image

sentiasa published

GetComponentInChildren is getting Sibling s Child

Feb 12, '16 c#·gameobject·gameobject.find·getcomponentinchildren·getcomponentsinchildren

0 Replies

0 Votes

avatar image

sovan-k1 commented

Gameobject with many child objects disable mesh not working.

Jan 28, '16 getcomponentsinchildren·renderer.enabled

0 Replies

0 Votes

avatar image

arcifus commented

Setting rigidbody.velocity of all child objects to "x".

Nov 4, '15 array·rigidbody2d·child·rigidbody.velocity·getcomponentsinchildren

3 Replies

0 Votes

avatar image

nirharpaz commented

GetComponentsInChildren always the same order

Oct 8, '15 getcomponentsinchildren

3 Replies

1 Votes

avatar image

RudyTheDev answered

Elements of Listare null after loading scene

Sep 22, '15 in Help Room

1 Reply

0 Votes

avatar image

cjdev answered

Access a script on a child on another gameobject in C#?

Sep 15, '15 in Help Room

2 Replies

0 Votes

avatar image

SteByte commented

using ExecuteInEditMode to create platforms in the editor

Jun 5, '15 editor·executeineditmode·getcomponentsinchildren

1 Reply

0 Votes

avatar image

daneislazy edited

GetComponentsInChildren Problem

Feb 10, '15 getcomponentsinchildren

1 Reply

0 Votes

avatar image

HarshadK edited

GetComponentsInChildren() doesn't works like I expect

Dec 3, '14 getcomponentsinchildren

1 Reply

0 Votes

avatar image

piounity published

getComponentsInChildren counts fail after child destroying?

Oct 22, '14 getcomponentsinchildren

1 Reply

0 Votes

avatar image

Bezzy commented

Access components in children of a prefab?

Oct 14, '14 prefab·null·children·properties·getcomponentsinchildren

5 Replies

3 Votes

avatar image

hardmode2236 commented

trouble getting all children into an array.

May 15, '14 transform·array·getcomponentsinchildren

1 Reply

0 Votes

avatar image

Jamora commented

How do I cleanly check if there is a specific component in a parent x positions above the current component in the hierarchy? Wiki

Mar 7, '14 c#·hierarchy·search·getcomponentsinchildren

0 Replies

0 Votes

avatar image

aldonaletto edited

Why do I get invalid cast with this code?

Nov 5, '13 getcomponentsinchildren

2 Replies

0 Votes

avatar image

Bunny83 edited

Cannot cast form source type to destination type?

Oct 25, '13 error·transform·cast·casting·getcomponentsinchildren

2 Replies

0 Votes

  • 1
  • 2
  • ›

Related Topics

array invalidcastexception gameobject c# child transform getcomponentinchildren children parent cast colliders component javascript renderer meshrenderer error prefab foreach color change casting gameobjects null arrays particleemitter gameobject.find


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges