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

Getcomponents

Cancel

Cancel

All Questions

  • Unanswered Questions
avatar image

Soxbear commented

GetComponents only returning first component

Feb 13, '22 component·getcomponents

2 Replies

0 Votes

avatar image

andrew-lukasik edited

GetComponents() returns null while GetComponent() returns non-null. WHY

Dec 10, '21 in Help Room

1 Reply

0 Votes

avatar image

KatieN edited

How to make an Array equal the Components of an Instantiated GameObject

Jul 26, '19 instantiate·array·beginner·getcomponent·getcomponents

1 Reply

1 Votes

avatar image

Karwoch answered

How to get a List from GetComponents?

Jun 6, '19 list·generic·getcomponents

3 Replies

0 Votes

avatar image

cryingwolf85 answered

GameObject.Find GetComponent C#

Aug 3, '18 gameobject·getcomponent·gameobject.find·getcomponents

4 Replies

1 Votes

avatar image

L42yB answered

State Machine Behaviour GetComponents does not exist, works fine in monobehaviour.

Jul 6, '18 mecanim·getcomponents

1 Reply

0 Votes

avatar image

KaspianR commented

How to look for a game object and a change some components on that object?

May 18, '18 gameobject·getcomponent·getcomponents

1 Reply

0 Votes

avatar image

zander353 commented

How to loop to get all rigidbodies & rendercomponents?

Oct 26, '17 in Help Room

1 Reply

0 Votes

avatar image

Bunny83 commented

GetComponents Access to Inherited Class

Jun 12, '17 inheritance·getcomponents

1 Reply

1 Votes

avatar image

Bunny83 commented

Reliable Order of Components, using GetComponents()

Jan 4, '17 c#·ordering·getcomponents

1 Reply

1 Votes

avatar image

nu51313932 commented

How to get 2 CircleCollider2d components with the same name in an object in C#?.

Dec 19, '16 in Help Room

1 Reply

0 Votes

avatar image

Glurth edited

GetComponents.() known to cause crash?

Aug 1, '16 crash·meshcollider·getcomponents

0 Replies

0 Votes

avatar image

dreasgrech commented

Does GetComponents() return the components in the order that they are displayed in the editor?

Oct 3, '15 array·order·getcomponents

1 Reply

8 Votes

avatar image

Garazbolg published

GetComponents array in C# error ?

Oct 2, '15 c#·javascript·error·array·getcomponents

4 Replies

0 Votes

avatar image

sokkyoku edited

how to find all components of a game object

May 15, '15 gameobject·vuforia·getcomponents

2 Replies

0 Votes

avatar image

Nanako commented

Bad array declaration: Why won't this compile?

Feb 6, '15 array·getcomponents

2 Replies

1 Votes

avatar image

taxvi edited

[JS] - GetComponents (No appropriate version)

Dec 10, '14 javascript·error·getcomponent·getcomponents

1 Reply

0 Votes

avatar image

Cnote commented

foreach script check if boolean is true

Nov 30, '14 multiple·bool·foreach·getcomponents

3 Replies

0 Votes

avatar image

entity476 commented

What array-type does GetComponents return?

Nov 7, '14 arrays·getcomponents

2 Replies

0 Votes

avatar image

XartaX published

Access different root

Apr 1, '14 root·getcomponents

0 Replies

0 Votes

avatar image

Simon-Larsen answered

Getting all scripts attached to a gameObject (Problem)

Mar 26, '14 c#·getcomponent·getcomponents

1 Reply

0 Votes

avatar image

maxxa05 asked

Implicit type GetComponent call

Mar 8, '14 c#·getcomponent·generics·getcomponents

0 Replies

1 Votes

avatar image

Benproductions1 commented

proper C# casting for GetComponents on Audio Source?

Jan 19, '14 c#·audiosource·casting·getcomponents

1 Reply

1 Votes

avatar image

KiraSensei commented

GetComponents vs GetComponentsInChildren Closed

May 23, '13 getcomponentsinchildren·getcomponents

1 Reply

1 Votes

avatar image

Captain_Dando commented

Storing return of get components in List

May 8, '13 list·generic·getcomponents

1 Reply

0 Votes

avatar image

test84 answered

Find all GameObjects with tag and add them to a transform array

Nov 23, '12 gameobject·transform·array·getcomponents

2 Replies

0 Votes

avatar image

BKXZ234 commented

how do i fill an array with an objects children?

Oct 26, '12 getcomponents

1 Reply

0 Votes

avatar image

KlashnikovKid commented

C# Null Reference exception with GetComponents()

Sep 13, '12 c#·null reference exception·getcomponents

1 Reply

0 Votes

avatar image

fospher edited

Retrieving a variable from ALL scripts on a Game Object

Jun 27, '12 getcomponent·game object·getcomponents

1 Reply

0 Votes

avatar image

Bunny83 commented

Check If GameObject Has Render Component

May 24, '12 renderer·components·attach·getcomponents

2 Replies

0 Votes

  • 1
  • 2
  • ›

Related Topics

getcomponent c# array gameobject unity 2d generic list javascript error bool crash game object component getcomponentsinchildren meshcollider order cast 2d-physics vuforia audiosource invalidcastexception ordering null reference exception casting inheritance


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